| Index: src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| index ef0debf864f4e9a99bd2edfabf7fb1b094f21434..36ef15aba0d19fc3912cac7e44ff2e5e44aa74af 100644
|
| --- a/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc
|
| @@ -607,10 +607,11 @@ void LCodeGen::DoPrologue(LPrologue* instr) {
|
| __ Mov(cp, x0);
|
| __ Str(x0, 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()) {
|
| Register value = x0;
|
| Register scratch = x3;
|
|
|