sourcepawn/jit/x86/jit_x86.cpp
changeset 238 43c7cb6914a8
parent 237 b2210331d415
child 241 5444b56b5ba6
     1.1 --- a/sourcepawn/jit/x86/jit_x86.cpp	Sun Dec 31 22:33:47 2006 +0000
     1.2 +++ b/sourcepawn/jit/x86/jit_x86.cpp	Sun Dec 31 23:28:40 2006 +0000
     1.3 @@ -1680,7 +1680,7 @@
     1.4  	/* Check for errors */
     1.5  	//cmp eax, 0
     1.6  	//jnz :error
     1.7 -	IA32_Cmp_Rm_Imm32(jit, MOD_REG, REG_EAX, 0);
     1.8 +	IA32_Cmp_Rm_Imm8(jit, MOD_REG, REG_EAX, 0);
     1.9  	IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
    1.10  
    1.11  	/* Restore */
    1.12 @@ -1726,7 +1726,7 @@
    1.13  	/* Check for errors */
    1.14  	//cmp eax, 0
    1.15  	//jnz :error
    1.16 -	IA32_Cmp_Rm_Imm32(jit, MOD_REG, REG_EAX, 0);
    1.17 +	IA32_Cmp_Rm_Imm8(jit, MOD_REG, REG_EAX, 0);
    1.18  	IA32_Jump_Cond_Imm32_Abs(jit, CC_NZ, data->jit_return);
    1.19  
    1.20  	/* Restore */
    1.21 @@ -1884,9 +1884,6 @@
    1.22  	data->jit_error_array_too_big = jit->get_outputpos();
    1.23  	Write_SetError(jit, SP_ERROR_ARRAY_TOO_BIG);
    1.24  
    1.25 -	data->jit_error_tracker_bounds = jit->get_outputpos();
    1.26 -	Write_SetError(jit, SP_ERROR_TRACKER_BOUNDS);
    1.27 -
    1.28  	data->jit_extern_error = jit->get_outputpos();
    1.29  	Write_GetError(jit);
    1.30  }