Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 3091) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -6531,7 +6531,7 @@ |
Register left, |
Register right) { |
if (!ArgsInRegistersSupported()) { |
- // Only pass arguments in registers if there is no smi code in the stub. |
+ // Pass arguments on the stack. |
__ push(left); |
__ push(right); |
} else { |
@@ -6584,7 +6584,7 @@ |
Register left, |
Smi* right) { |
if (!ArgsInRegistersSupported()) { |
- // Only pass arguments in registers if there is no smi code in the stub. |
+ // Pass arguments on the stack. |
__ push(left); |
__ push(Immediate(right)); |
} else { |
@@ -6612,8 +6612,8 @@ |
MacroAssembler* masm, |
Smi* left, |
Register right) { |
- if (flags_ != NO_SMI_CODE_IN_STUB) { |
- // Only pass arguments in registers if there is no smi code in the stub. |
+ if (!ArgsInRegistersSupported()) { |
+ // Pass arguments on the stack. |
__ push(Immediate(left)); |
__ push(right); |
} else { |