Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index aaae528008c8272601a8ee14dbefe49a67e4929c..99701a0d85c7660db8ab10efb1f4ed1b7f8cedf6 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -56,7 +56,7 @@ void Builtins::Generate_Adaptor(MacroAssembler* masm, |
__ ld(a2, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); |
__ lw(a2, |
FieldMemOperand(a2, SharedFunctionInfo::kFormalParameterCountOffset)); |
- __ Branch(&argc, ne, a2, |
+ __ Branch(&argc, eq, a2, |
Operand(SharedFunctionInfo::kDontAdaptArgumentsSentinel)); |
__ Daddu(a0, a2, num_extra_args + 1); |
__ jmp(&done_argc); |