Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 979803a54275eb1535932d7cef9aec0f69f57077..08357d3a76f80dbb5ca1e3d9f989f34f1563a862 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -199,10 +199,11 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
__ mov(cp, v0); |
__ sw(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; |