Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index c1111eec7da06f7d7a53a4b15b0002a9ac7d1a6b..2e6904380a7f644ba3587b8e0075d2f6a0ad27c2 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -58,7 +58,7 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, |
__ lw(a2, |
FieldMemOperand(a2, SharedFunctionInfo::kFormalParameterCountOffset)); |
__ SmiUntag(a2); |
- __ Branch(&argc, ne, a2, |
+ __ Branch(&argc, eq, a2, |
Operand(SharedFunctionInfo::kDontAdaptArgumentsSentinel)); |
__ Addu(a0, a2, num_extra_args + 1); |
__ jmp(&done_argc); |