Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 67ec571296af847d2c6d63f1b967803d5cb764e0..d66e21865b7322e565812c7c09ed4d9325460369 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -273,7 +273,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); |