summaryrefslogtreecommitdiff
path: root/yjit/src/backend/x86_64/mod.rs
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <[email protected]>2022-06-15 16:16:33 -0400
committerTakashi Kokubun <[email protected]>2022-08-29 08:46:56 -0700
commitabea8c8983aef411f7e6a2afbfbc25e31b2f5486 (patch)
tree1b9bddd5f7e2c51ee21f6ea7c6de7aebcbcdd3be /yjit/src/backend/x86_64/mod.rs
parent1923842b3dd97cf00d1511b7962a509dd650f06b (diff)
Add stores to one of the tests
Diffstat (limited to 'yjit/src/backend/x86_64/mod.rs')
-rw-r--r--yjit/src/backend/x86_64/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit/src/backend/x86_64/mod.rs b/yjit/src/backend/x86_64/mod.rs
index 4d24378370..7dcf41600d 100644
--- a/yjit/src/backend/x86_64/mod.rs
+++ b/yjit/src/backend/x86_64/mod.rs
@@ -187,7 +187,10 @@ impl Assembler
Op::JmpOpnd => jmp_rm(cb, insn.opnds[0].into()),
+ // Conditional jump to a label
Op::Je => je_label(cb, insn.target.unwrap().unwrap_label_idx()),
+ Op::Jz => jz_label(cb, insn.target.unwrap().unwrap_label_idx()),
+ Op::Jnz => jnz_label(cb, insn.target.unwrap().unwrap_label_idx()),
// Atomically increment a counter at a given memory location
Op::IncrCounter => {