sourcepawn/jit/x86/opcode_helpers.cpp
changeset 800 432f5aed9b1e
parent 653 ef60870067ff
child 831 1995c0dd5c04
     1.1 --- a/sourcepawn/jit/x86/opcode_helpers.cpp	Tue May 15 04:59:48 2007 +0000
     1.2 +++ b/sourcepawn/jit/x86/opcode_helpers.cpp	Wed May 16 01:17:14 2007 +0000
     1.3 @@ -80,7 +80,7 @@
     1.4  	//mov ecx, [eax+<offs>] - copy memsize to temp var
     1.5  	//add ecx, ebp			- relocate
     1.6  	//mov [esi+x], ecx		- store relocated
     1.7 -	IA32_Mov_Reg_Rm_Disp8(jit, REG_ECX, REG_EAX, offsetof(sp_context_t, memory));
     1.8 +	IA32_Mov_Reg_Rm_Disp8(jit, REG_ECX, REG_EAX, offsetof(sp_context_t, mem_size));
     1.9  	IA32_Add_Reg_Rm(jit, AMX_REG_TMP, AMX_REG_DAT, MOD_REG);
    1.10  	IA32_Mov_Rm_Reg_Disp8(jit, AMX_REG_INFO, REG_ECX, AMX_INFO_STACKTOP);
    1.11