| Index: src/crankshaft/s390/lithium-codegen-s390.cc
|
| diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc
|
| index 7ef9c58814439735631d86f819acc2130e137b52..86b4825b4bae9c121aa899096855b004c10e99b1 100644
|
| --- a/src/crankshaft/s390/lithium-codegen-s390.cc
|
| +++ b/src/crankshaft/s390/lithium-codegen-s390.cc
|
| @@ -176,11 +176,10 @@
|
| __ LoadRR(cp, r2);
|
| __ StoreP(r2, MemOperand(fp, StandardFrameConstants::kContextOffset));
|
| // Copy any necessary parameters into the context.
|
| - int num_parameters = info()->scope()->num_parameters();
|
| - int first_parameter = info()->scope()->has_this_declaration() ? -1 : 0;
|
| + int num_parameters = scope()->num_parameters();
|
| + int first_parameter = scope()->has_this_declaration() ? -1 : 0;
|
| for (int i = first_parameter; i < num_parameters; i++) {
|
| - Variable* var = (i == -1) ? info()->scope()->receiver()
|
| - : info()->scope()->parameter(i);
|
| + Variable* var = (i == -1) ? scope()->receiver() : scope()->parameter(i);
|
| if (var->IsContextSlot()) {
|
| int parameter_offset = StandardFrameConstants::kCallerSPOffset +
|
| (num_parameters - 1 - i) * kPointerSize;
|
|
|