Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 6e26e7670cfc357883b16fb55d0f6bf77b7f55db..5fa1b4e732385d92508c9d779c7d5ca0423b2f85 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -257,6 +257,7 @@ void FullCodeGenerator::Generate() { |
__ Push(rdx); |
__ Push(Smi::FromInt(num_parameters)); |
__ Push(Smi::FromInt(rest_index)); |
+ __ Push(Smi::FromInt(language_mode())); |
RestParamAccessStub stub(isolate()); |
__ CallStub(&stub); |