Index: src/ppc/full-codegen-ppc.cc |
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc |
index c6dbb826500694cda97560c8bb3c9a0597be15ce..266b72635b16ef802476497bcededc644d3b9240 100644 |
--- a/src/ppc/full-codegen-ppc.cc |
+++ b/src/ppc/full-codegen-ppc.cc |
@@ -273,7 +273,8 @@ void FullCodeGenerator::Generate() { |
__ addi(r6, fp, Operand(StandardFrameConstants::kCallerSPOffset + offset)); |
__ mov(r5, Operand(Smi::FromInt(num_parameters))); |
__ mov(r4, Operand(Smi::FromInt(rest_index))); |
- __ Push(r6, r5, r4); |
+ __ mov(r7, Operand(Smi::FromInt(language_mode()))); |
+ __ Push(r6, r5, r4, r7); |
RestParamAccessStub stub(isolate()); |
__ CallStub(&stub); |