Skip to content

Commit da9d693

Browse files
committed
[drop later] fix for "immediate value too large"
1 parent e2a5145 commit da9d693

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/backend/x86_64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ impl Assembler
392392
mov(cb, Assembler::SCRATCH0, opnd.into());
393393
Assembler::SCRATCH0
394394
} else {
395-
opnd.into()
395+
imm_opnd(*value as i64)
396396
}
397397
},
398398
_ => opnd.into()

0 commit comments

Comments
 (0)