Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 83d6269f74627c6f13c4322b9c693be99bf1d3d4..8e18852331bd01ed244e9f65ffd7d14381e5963e 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -180,11 +180,10 @@ |
__ mov(cp, r0); |
__ str(r0, 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; |