callstack.cpp: fix fat-fingered typo from undefined-symbol change
parent
b653360299
commit
10845ebfb9
|
@ -129,8 +129,8 @@ void factor_vm::set_frame_offset(stack_frame *frame, cell offset)
|
||||||
|
|
||||||
void factor_vm::scrub_return_address()
|
void factor_vm::scrub_return_address()
|
||||||
{
|
{
|
||||||
stack_frame *frame = innermost_stack_frame(ctx->callstack_top,
|
stack_frame *frame = innermost_stack_frame(ctx->callstack_bottom,
|
||||||
ctx->callstack_bottom);
|
ctx->callstack_top);
|
||||||
set_frame_offset(frame,0);
|
set_frame_offset(frame,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -214,15 +214,15 @@ void factor_vm::primitive_innermost_stack_frame_scan()
|
||||||
|
|
||||||
void factor_vm::primitive_set_innermost_stack_frame_quot()
|
void factor_vm::primitive_set_innermost_stack_frame_quot()
|
||||||
{
|
{
|
||||||
data_root<callstack> callstack(ctx->pop(),this);
|
data_root<callstack> stack(ctx->pop(),this);
|
||||||
data_root<quotation> quot(ctx->pop(),this);
|
data_root<quotation> quot(ctx->pop(),this);
|
||||||
|
|
||||||
callstack.untag_check(this);
|
stack.untag_check(this);
|
||||||
quot.untag_check(this);
|
quot.untag_check(this);
|
||||||
|
|
||||||
jit_compile_quot(quot.value(),true);
|
jit_compile_quot(quot.value(),true);
|
||||||
|
|
||||||
stack_frame *inner = innermost_stack_frame(callstack->bottom(), callstack->top());
|
stack_frame *inner = innermost_stack_frame(stack->bottom(), stack->top());
|
||||||
cell offset = frame_offset(inner);
|
cell offset = frame_offset(inner);
|
||||||
inner->entry_point = quot->entry_point;
|
inner->entry_point = quot->entry_point;
|
||||||
set_frame_offset(inner,offset);
|
set_frame_offset(inner,offset);
|
||||||
|
|
Loading…
Reference in New Issue