Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index c5109ac8473983c17215897154675fbcae2bb71a..6e35ae0554363e34ebac989b7f7fedcaf1bec139 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -196,11 +196,10 @@ |
__ movp(Operand(rbp, StandardFrameConstants::kContextOffset), rax); |
// 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; |