diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2021-02-25 17:01:52 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:30 -0400 |
commit | 799d248e314d98b28837b921c9e0fc97ae93b574 (patch) | |
tree | 946d1dc90c55b64ea1314d715dbf4c9e7e7c57e9 /ujit_codegen.c | |
parent | 57977ba30d35f6f9de3d2802d1894e1f0d23286d (diff) | |
download | ruby-799d248e314d98b28837b921c9e0fc97ae93b574.tar.gz |
Fix jmp encoding. Rename conditional jumps jxx() to jxx_label()
Diffstat (limited to 'ujit_codegen.c')
-rw-r--r-- | ujit_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ujit_codegen.c b/ujit_codegen.c index ad48029a31..78806e0f5a 100644 --- a/ujit_codegen.c +++ b/ujit_codegen.c @@ -1561,7 +1561,7 @@ gen_leave(jitstate_t* jit, ctx_t* ctx) // If the return address is NULL, fall back to the interpreter int FALLBACK_LABEL = cb_new_label(cb, "FALLBACK"); cmp(cb, REG1, imm_opnd(0)); - jz(cb, FALLBACK_LABEL); + jz_label(cb, FALLBACK_LABEL); // Jump to the JIT return address jmp_rm(cb, REG1); |