Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 0c00f713402583b4f5940020901e50d79900419d..ed39bbf9c97872d4c51345b5f9b78a3d9e12a961 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -278,7 +278,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); |