Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 0e2f6c9fdb6b0651b65a11fc4c9c03c5b9740ca2..df8f5926ab30036ec55b311cd5749d25b1fe76a1 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -262,6 +262,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); |