Index: src/ia32/codegen-ia32.cc |
=================================================================== |
--- src/ia32/codegen-ia32.cc (revision 3692) |
+++ src/ia32/codegen-ia32.cc (working copy) |
@@ -7285,7 +7285,7 @@ |
__ mov(eax, edx); |
GenerateReturn(masm); |
- if (HasArgumentsInRegisters()) { |
+ if (arg_location == ARGS_IN_REGISTERS) { |
__ bind(&after_alloc_failure); |
__ mov(edx, eax); |
__ mov(eax, ebx); |
@@ -7570,8 +7570,7 @@ |
if (HasArgumentsReversed()) { |
if (mode == OVERWRITE_RIGHT) { |
mode = OVERWRITE_LEFT; |
- } |
- else if (mode == OVERWRITE_LEFT) { |
+ } else if (mode == OVERWRITE_LEFT) { |
mode = OVERWRITE_RIGHT; |
} |
} |