Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index e3983f79ff2b0a73ddba8a55c4e648c1c15e4c5f..dd8a79c81e8f42e038acd5d9820ae74f97165b36 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -275,7 +275,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); |