Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 632ec5f44ed7236216dc699f340cfebc67bcd97d..1d56de261d7cfbad3ffd35cd3d5cf2cd8b7d4b74 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -264,7 +264,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); |