mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
make things compile/run
This commit is contained in:
parent
2031488d1a
commit
c1d0af5b39
2 changed files with 1 additions and 4 deletions
|
@ -520,7 +520,7 @@ impl<
|
|||
Literal::Int(x) => {
|
||||
let reg = self.claim_general_reg(sym)?;
|
||||
let val = *x;
|
||||
ASM::mov_reg64_imm64(&mut self.buf, reg, val);
|
||||
ASM::mov_reg64_imm64(&mut self.buf, reg, val as i64);
|
||||
Ok(())
|
||||
}
|
||||
Literal::Float(x) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue