Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 9d626a6a47d3d1258ccd6da4c28e3e952e5e49ff..525233a50c00abe824c8723aec13d1bb77b20ee0 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -263,7 +263,8 @@ void FullCodeGenerator::Generate() { |
__ add(r3, fp, Operand(StandardFrameConstants::kCallerSPOffset + offset)); |
__ mov(r2, Operand(Smi::FromInt(num_parameters))); |
__ mov(r1, Operand(Smi::FromInt(rest_index))); |
- __ Push(r3, r2, r1); |
+ __ mov(r0, Operand(Smi::FromInt(language_mode()))); |
+ __ Push(r3, r2, r1, r0); |
RestParamAccessStub stub(isolate()); |
__ CallStub(&stub); |