Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 700ccfe5e751de9ad4a5adb664baed98305b82ad..119bbdb22f06cf2d2b20e61420e5a67a219326c3 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -266,6 +266,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); |