summaryrefslogtreecommitdiff
path: root/yjit/src/utils.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-04-14 14:00:10 -0700
committerGitHub <[email protected]>2023-04-14 17:00:10 -0400
commit4501fb8b467cd40da5e160b82db7ea1a10d9e7ca (patch)
treeda36a1703c584d45de5286d8a94cb985743e5341 /yjit/src/utils.rs
parentd83e59e6b8b52002cc46a14d7d4dc69416379029 (diff)
YJIT: Introduce Target::SideExit (#7712)
* YJIT: Introduce Target::SideExit * YJIT: Obviate Insn::SideExitContext * YJIT: Avoid cloning a Context for each insn
Notes
Notes: Merged-By: maximecb <[email protected]>
Diffstat (limited to 'yjit/src/utils.rs')
-rw-r--r--yjit/src/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/utils.rs b/yjit/src/utils.rs
index d9a75b5302..396b330abf 100644
--- a/yjit/src/utils.rs
+++ b/yjit/src/utils.rs
@@ -263,7 +263,7 @@ mod tests {
let mut cb = CodeBlock::new_dummy(1024);
print_int(&mut asm, Opnd::Imm(42));
- asm.compile(&mut cb);
+ asm.compile(&mut cb, None);
}
#[test]
@@ -272,6 +272,6 @@ mod tests {
let mut cb = CodeBlock::new_dummy(1024);
print_str(&mut asm, "Hello, world!");
- asm.compile(&mut cb);
+ asm.compile(&mut cb, None);
}
}