Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 7d575d870ef9e4e2288d32b377a40594bec1d0ed..e4557550f5c5c457f91979a661927b2b0b5c65a9 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -261,6 +261,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); |