We can't push a 64-bit immediate value on the stack on x86-64.
Signed-off-by: Eduard - Gabriel Munteanu <[email protected]>
---
arch/x86/emit-code.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c
index 9f7a46c..26044f3 100644
--- a/arch/x86/emit-code.c
+++ b/arch/x86/emit-code.c
@@ -1810,7 +1810,7 @@ static void __emit64_push_imm(struct buffer *buf, long
imm)
opc = 0x68;
emit(buf, opc);
- emit64_imm(buf, imm);
+ emit_imm(buf, imm);
}
static void emit64_push_imm(struct buffer *buf, struct operand *operand)
--
1.6.0.6
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel