mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix tests on yjit_backend_ir for AArch64 backend (https://github.com/Shopify/ruby/pull/383)
This commit is contained in:
parent
b8846dd2f8
commit
cd7506593a
1 changed files with 2 additions and 2 deletions
|
@ -882,8 +882,8 @@ mod tests {
|
|||
asm.store(Opnd::mem(64, Opnd::Reg(X2_REG), 0), opnd);
|
||||
asm.compile_with_regs(&mut cb, vec![X3_REG]);
|
||||
|
||||
let insns = cb.get_ptr(0).raw_ptr() as *const u32;
|
||||
assert_eq!(0x8b010003, unsafe { *insns });
|
||||
// Assert that only 2 instructions were written.
|
||||
assert_eq!(8, cb.get_write_pos());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue