4 inline static cell callstack_size(cell size)
6 return sizeof(callstack) + size;
9 stack_frame *fix_callstack_top(stack_frame *top, stack_frame *bottom);
10 stack_frame *frame_successor(stack_frame *frame);
11 code_block *frame_code(stack_frame *frame);
12 cell frame_executing(stack_frame *frame);
13 cell frame_scan(stack_frame *frame);
14 cell frame_type(stack_frame *frame);
17 PRIMITIVE(set_callstack);
18 PRIMITIVE(callstack_to_array);
19 PRIMITIVE(innermost_stack_frame_executing);
20 PRIMITIVE(innermost_stack_frame_scan);
21 PRIMITIVE(set_innermost_stack_frame_quot);
23 VM_ASM_API void save_callstack_bottom(stack_frame *callstack_bottom);