Index: src/crankshaft/mips64/lithium-codegen-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
index ac18be33ef7695597ce42683121acdf308269391..32b320bc79c4fa2402f78b484a0fbda20bbc2ccc 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
@@ -175,10 +175,11 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
__ mov(cp, v0); |
__ sd(v0, 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()) { |
int parameter_offset = StandardFrameConstants::kCallerSPOffset + |
(num_parameters - 1 - i) * kPointerSize; |