Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index b253ed8b3954b4fada10f38633bf48480e12e41b..1198b2f7a3eeaf1b2b608423580741f1e68f4892 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -270,7 +270,8 @@ void FullCodeGenerator::Generate() { |
Operand(StandardFrameConstants::kCallerSPOffset + offset)); |
__ li(a2, Operand(Smi::FromInt(num_parameters))); |
__ li(a1, Operand(Smi::FromInt(rest_index))); |
- __ Push(a3, a2, a1); |
+ __ li(a0, Operand(Smi::FromInt(language_mode()))); |
+ __ Push(a3, a2, a1, a0); |
RestParamAccessStub stub(isolate()); |
__ CallStub(&stub); |