Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index 1b0694c6c77550fed052b4cbc957a71d7e8bbb98..ea4be934311eb339d15ca92c414655142a897244 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -194,11 +194,10 @@ |
__ mov(Operand(ebp, StandardFrameConstants::kContextOffset), eax); |
// Copy parameters into context if necessary. |
- 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; |