JIT on ARM: add assertion to check long-jump mode
The same assertion is present already in Thumb mode, but add it to non-Thumb mode.
This commit is contained in:
parent
39c2a08d31
commit
d66af86a58
|
@ -1329,6 +1329,7 @@ arm_branch(jit_state_t _jitp, int cc, jit_insn *i0)
|
|||
_CC_B(cc, d & 0x00ffffff);
|
||||
} else {
|
||||
int im = (int)i0;
|
||||
jit_assert(_jitl.long_jumps);
|
||||
if (jit_armv6t_p()) {
|
||||
_CC_MOVWI(cc, JIT_TMP, _jit_US(im));
|
||||
_CC_MOVTI(cc, JIT_TMP, _jit_US((unsigned)im >> 16));
|
||||
|
|
Loading…
Reference in New Issue
Block a user