Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 9441cb7de8247e2eff8e1ff1a14ea43f513c2f64..7e2e249bb61aba55d31e2dd70244b803d72c4e29 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -269,7 +269,8 @@ void FullCodeGenerator::Generate() { |
__ Add(x3, fp, StandardFrameConstants::kCallerSPOffset + offset); |
__ Mov(x2, Smi::FromInt(num_parameters)); |
__ Mov(x1, Smi::FromInt(rest_index)); |
- __ Push(x3, x2, x1); |
+ __ Mov(x0, Smi::FromInt(language_mode())); |
+ __ Push(x3, x2, x1, x0); |
RestParamAccessStub stub(isolate()); |
__ CallStub(&stub); |