Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index fffb4b27a76fc1a81482c3ff3470e0f772a6ac4a..37f8d9dace8085f39d8fbd6ff039058e010d44d1 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -258,6 +258,7 @@ void FullCodeGenerator::Generate() { |
__ push(edx); |
__ push(Immediate(Smi::FromInt(num_parameters))); |
__ push(Immediate(Smi::FromInt(rest_index))); |
+ __ push(Immediate(Smi::FromInt(language_mode()))); |
RestParamAccessStub stub(isolate()); |
__ CallStub(&stub); |