diff options
-rw-r--r-- | ujit_asm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ujit_asm.c b/ujit_asm.c index c580414539..a67eb7f7d6 100644 --- a/ujit_asm.c +++ b/ujit_asm.c @@ -897,7 +897,8 @@ void call_ptr(codeblock_t* cb, x86opnd_t scratch_reg, uint8_t* dst_ptr) // If the offset fits in 32-bit if (rel64 >= -2147483648 && rel64 <= 2147483647) { - return call_rel32(cb, (int32_t)rel64); + call_rel32(cb, (int32_t)rel64) + return; } // Move the pointer into the scratch register and call |