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 ba4aee8ac6f222c1d43f08f9be0526b010f4beed..7527bf3802e006deb5bb63afc9d5a1057c6b53dc 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -607,11 +607,10 @@ |
__ Mov(cp, x0); |
__ Str(x0, 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()) { |
Register value = x0; |
Register scratch = x3; |