예제 #1
0
파일: image.cpp 프로젝트: leto/factor
static void fixup_word(word *word)
{
	if(word->code)
		code_fixup(&word->code);
	if(word->profiling)
		code_fixup(&word->profiling);
	code_fixup(&word->xt);
}
예제 #2
0
파일: image.cpp 프로젝트: harold/factor
void factor_vm::fixup_word(word *word, cell code_relocation_base)
{
	if(word->code)
		code_fixup(&word->code,code_relocation_base);
	if(word->profiling)
		code_fixup(&word->profiling,code_relocation_base);
	code_fixup(&word->xt,code_relocation_base);
}
예제 #3
0
파일: image.c 프로젝트: glguy/factor
void fixup_word(F_WORD *word)
{
	if(stage2)
	{
		code_fixup((CELL)&word->code);
		if(word->profiling) code_fixup((CELL)&word->profiling);
		code_fixup((CELL)&word->xt);
	}
}
예제 #4
0
파일: image.cpp 프로젝트: leto/factor
static void fixup_quotation(quotation *quot)
{
	if(quot->code)
	{
		code_fixup(&quot->xt);
		code_fixup(&quot->code);
	}
	else
		quot->xt = (void *)lazy_jit_compile;
}
예제 #5
0
파일: image.c 프로젝트: glguy/factor
void fixup_quotation(F_QUOTATION *quot)
{
	if(quot->compiledp == F)
		quot->xt = lazy_jit_compile;
	else
	{
		code_fixup((CELL)&quot->xt);
		code_fixup((CELL)&quot->code);
	}
}
예제 #6
0
파일: image.cpp 프로젝트: harold/factor
void factor_vm::fixup_quotation(quotation *quot, cell code_relocation_base)
{
	if(quot->code)
	{
		code_fixup(&quot->xt,code_relocation_base);
		code_fixup(&quot->code,code_relocation_base);
	}
	else
		quot->xt = (void *)lazy_jit_compile;
}
예제 #7
0
파일: image.cpp 프로젝트: leto/factor
static void fixup_stack_frame(stack_frame *frame)
{
	code_fixup(&frame->xt);
	code_fixup(&FRAME_RETURN_ADDRESS(frame));
}
예제 #8
0
파일: image.c 프로젝트: glguy/factor
void fixup_stack_frame(F_STACK_FRAME *frame)
{
	code_fixup((CELL)&frame->xt);
	code_fixup((CELL)&FRAME_RETURN_ADDRESS(frame));
}