fixed bug in amb284
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40794
This commit is contained in:
parent
0b45984017
commit
b0a32b39c2
@ -1462,6 +1462,9 @@ inline void WriteOp_Switch(JitWriter *jit)
|
||||
} else {
|
||||
IA32_Lea_DispRegImm32(jit, AMX_REG_TMP, AMX_REG_PRI, low_bound);
|
||||
}
|
||||
} else {
|
||||
//mov ecx, eax
|
||||
IA32_Mov_Reg_Rm(jit, AMX_REG_TMP, AMX_REG_PRI, MOD_REG);
|
||||
}
|
||||
cell_t high_bound = abs(cases[0].val - cases[num_cases-1].val);
|
||||
//cmp ecx, <UPPER BOUND BOUND>
|
||||
|
Loading…
Reference in New Issue
Block a user