removed tracker error
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40243
This commit is contained in:
parent
a7fe408995
commit
fed813155e
@ -1680,7 +1680,7 @@ inline void WriteOp_Tracker_Push_C(JitWriter *jit)
|
|||||||
/* Check for errors */
|
/* Check for errors */
|
||||||
//cmp eax, 0
|
//cmp eax, 0
|
||||||
//jnz :error
|
//jnz :error
|
||||||
IA32_Cmp_Rm_Imm32(jit, MOD_REG, REG_EAX, 0);
|
IA32_Cmp_Rm_Imm8(jit, MOD_REG, REG_EAX, 0);
|
||||||
IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
|
IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
|
||||||
|
|
||||||
/* Restore */
|
/* Restore */
|
||||||
@ -1726,7 +1726,7 @@ inline void WriteOp_Tracker_Pop_SetHeap(JitWriter *jit)
|
|||||||
/* Check for errors */
|
/* Check for errors */
|
||||||
//cmp eax, 0
|
//cmp eax, 0
|
||||||
//jnz :error
|
//jnz :error
|
||||||
IA32_Cmp_Rm_Imm32(jit, MOD_REG, REG_EAX, 0);
|
IA32_Cmp_Rm_Imm8(jit, MOD_REG, REG_EAX, 0);
|
||||||
IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
|
IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
|
||||||
|
|
||||||
/* Restore */
|
/* Restore */
|
||||||
@ -1884,9 +1884,6 @@ void WriteErrorRoutines(CompData *data, JitWriter *jit)
|
|||||||
data->jit_error_array_too_big = jit->get_outputpos();
|
data->jit_error_array_too_big = jit->get_outputpos();
|
||||||
Write_SetError(jit, SP_ERROR_ARRAY_TOO_BIG);
|
Write_SetError(jit, SP_ERROR_ARRAY_TOO_BIG);
|
||||||
|
|
||||||
data->jit_error_tracker_bounds = jit->get_outputpos();
|
|
||||||
Write_SetError(jit, SP_ERROR_TRACKER_BOUNDS);
|
|
||||||
|
|
||||||
data->jit_extern_error = jit->get_outputpos();
|
data->jit_extern_error = jit->get_outputpos();
|
||||||
Write_GetError(jit);
|
Write_GetError(jit);
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public:
|
|||||||
jitoffs_t jit_error_heaplow;
|
jitoffs_t jit_error_heaplow;
|
||||||
jitoffs_t jit_error_heapmin;
|
jitoffs_t jit_error_heapmin;
|
||||||
jitoffs_t jit_error_array_too_big;
|
jitoffs_t jit_error_array_too_big;
|
||||||
jitoffs_t jit_error_tracker_bounds;
|
|
||||||
jitoffs_t jit_extern_error; /* returning generic error */
|
jitoffs_t jit_extern_error; /* returning generic error */
|
||||||
jitoffs_t jit_sysreq_c; /* old version! */
|
jitoffs_t jit_sysreq_c; /* old version! */
|
||||||
uint32_t codesize; /* total codesize */
|
uint32_t codesize; /* total codesize */
|
||||||
|
@ -140,7 +140,7 @@ void Write_BreakDebug(JitWriter *jit)
|
|||||||
IA32_Pushad(jit);
|
IA32_Pushad(jit);
|
||||||
|
|
||||||
//push [esi+frm]
|
//push [esi+frm]
|
||||||
//push [ecx+context]
|
//push ctx
|
||||||
//mov ecx, [ecx+dbreak]
|
//mov ecx, [ecx+dbreak]
|
||||||
//call ecx
|
//call ecx
|
||||||
//add esp, 8
|
//add esp, 8
|
||||||
@ -715,8 +715,8 @@ void WriteOp_Tracker_Push_Reg(JitWriter *jit, uint8_t reg)
|
|||||||
/* Check for errors */
|
/* Check for errors */
|
||||||
//cmp eax, 0
|
//cmp eax, 0
|
||||||
//jnz :error
|
//jnz :error
|
||||||
IA32_Cmp_Rm_Imm32(jit, MOD_REG, REG_EAX, 0);
|
IA32_Cmp_Rm_Imm8(jit, MOD_REG, REG_EAX, 0);
|
||||||
IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_error_tracker_bounds);
|
IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
|
||||||
|
|
||||||
/* Restore */
|
/* Restore */
|
||||||
//pop eax
|
//pop eax
|
||||||
|
Loading…
Reference in New Issue
Block a user