| Index: src/crankshaft/typing.cc
|
| diff --git a/src/crankshaft/typing.cc b/src/crankshaft/typing.cc
|
| index 596183871101711cd27a7b333b254940cc2694a0..d4854acd42053685a58c9bc7e31c5fb94dce499c 100644
|
| --- a/src/crankshaft/typing.cc
|
| +++ b/src/crankshaft/typing.cc
|
| @@ -87,8 +87,7 @@ void AstTyper::ObserveTypesAtOsrEntry(IterationStatement* stmt) {
|
| ZoneList<Variable*> local_vars(locals, zone());
|
| ZoneList<Variable*> context_vars(scope_->ContextLocalCount(), zone());
|
| ZoneList<Variable*> global_vars(scope_->ContextGlobalCount(), zone());
|
| - scope_->CollectStackAndContextLocals(&local_vars, &context_vars,
|
| - &global_vars);
|
| + scope_->CollectVariables(&local_vars, &context_vars, &global_vars);
|
| for (int i = 0; i < locals; i++) {
|
| PrintObserved(local_vars.at(i),
|
| frame->GetExpression(i),
|
|
|