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 ed9524fe3e4d3b1e14dae49de6db7c6cecd21a7c..de1cee774c4820a150b512181955353fc26c8ce5 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -196,10 +196,11 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
__ movp(Operand(rbp, StandardFrameConstants::kContextOffset), rax); |
// 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()) { |
int parameter_offset = StandardFrameConstants::kCallerSPOffset + |
(num_parameters - 1 - i) * kPointerSize; |