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 e7ebea543d65a7bdc8e8b645d81b9fbbb5bba16b..d6b5109b96e1c2e0a86d63158ae82518804eb621 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -199,11 +199,10 @@ |
__ mov(cp, v0); |
__ sw(v0, 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; |