Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 693a5c6b8d4118305ee864e1754106e65fd193af..f8295f68c7bf7e7dc9a5ff07e101a5375be18d91 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3276,6 +3276,7 @@ void MacroAssembler::TruncateHeapNumberToI(Register result_reg, |
} |
bind(&done); |
+ movl(result_reg, result_reg); |
Benedikt Meurer
2014/04/10 16:35:51
Nit: Add a comment why this is necessary.
|
} |
@@ -3292,6 +3293,7 @@ void MacroAssembler::TruncateDoubleToI(Register result_reg, |
addp(rsp, Immediate(kDoubleSize)); |
bind(&done); |
+ movl(result_reg, result_reg); |
Benedikt Meurer
2014/04/10 16:35:51
Nit: Same.
|
} |