Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 3139) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -5235,6 +5235,7 @@ |
void DeferredInlineSmiSub::Generate() { |
GenericBinaryOpStub igostub(Token::SUB, overwrite_mode_, NO_SMI_CODE_IN_STUB); |
igostub.GenerateCall(masm_, dst_, value_); |
+ if (!dst_.is(rax)) __ movq(dst_, rax); |
} |