Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 1446aeb392ed5806400b16ba8419cc7f9a9a72bb..e9fcd885aafee5d1daf1d9f0b67d97af4efc48b4 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -268,7 +268,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); |