| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index cc8dc59042e431de4087afb6e50b924a7f941963..3448dcae54cd01001d07f5e9f541013e598b85f5 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -4702,7 +4702,7 @@ void HOptimizedGraphBuilder::VisitBlock(Block* stmt) {
|
| }
|
| AddInstruction(function);
|
| // Allocate a block context and store it to the stack frame.
|
| - HValue* scope_info = Add<HConstant>(scope->GetScopeInfo(isolate()));
|
| + HValue* scope_info = Add<HConstant>(scope->scope_info());
|
| Add<HPushArguments>(scope_info, function);
|
| HInstruction* inner_context = Add<HCallRuntime>(
|
| Runtime::FunctionForId(Runtime::kPushBlockContext), 2);
|
|
|