| Index: src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| index 0f1da52e2eb028e29c08d629d3238df0f6f53046..121545b6e096559109d96b3a355207755ca69117 100644
|
| --- a/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| @@ -186,10 +186,11 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
|
| __ mr(cp, r3);
|
| __ StoreP(r3, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| // Copy any necessary parameters into the context.
|
| - int num_parameters = scope()->num_parameters();
|
| - int first_parameter = scope()->has_this_declaration() ? -1 : 0;
|
| + int num_parameters = info()->scope()->num_parameters();
|
| + int first_parameter = info()->scope()->has_this_declaration() ? -1 : 0;
|
| for (int i = first_parameter; i < num_parameters; i++) {
|
| - Variable* var = (i == -1) ? scope()->receiver() : scope()->parameter(i);
|
| + Variable* var = (i == -1) ? info()->scope()->receiver()
|
| + : info()->scope()->parameter(i);
|
| if (var->IsContextSlot()) {
|
| int parameter_offset = StandardFrameConstants::kCallerSPOffset +
|
| (num_parameters - 1 - i) * kPointerSize;
|
|
|