6 /* push a new tuple on the stack */
7 F_TUPLE *allot_tuple(CELL layout_)
9 gc_root<F_TUPLE_LAYOUT> layout(layout_);
10 gc_root<F_TUPLE> tuple(allot<F_TUPLE>(tuple_size(layout.untagged())));
11 tuple->layout = layout.value();
12 return tuple.untagged();
17 gc_root<F_TUPLE_LAYOUT> layout(dpop());
18 F_TUPLE *tuple = allot_tuple(layout.value());
20 for(i = tuple_size(layout.untagged()) - 1; i >= 0; i--)
23 dpush(tag<F_TUPLE>(tuple));
26 /* push a new tuple on the stack, filling its slots from the stack */
29 gc_root<F_TUPLE_LAYOUT> layout(dpop());
30 gc_root<F_TUPLE> tuple(allot_tuple(layout.value()));
31 CELL size = untag_fixnum(layout.untagged()->size) * CELLS;
32 memcpy(tuple->data(),(CELL *)(ds - (size - CELLS)),size);