Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 47cddd0a10dce599dd3f353e7d19fbfa99abca92..d7619e411fc146cd1d443f26d94f3f331acb8c34 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4562,7 +4562,7 @@ void HOptimizedGraphBuilder::VisitBlock(Block* stmt) { |
AddInstruction(function); |
// Allocate a block context and store it to the stack frame. |
HInstruction* inner_context = Add<HAllocateBlockContext>( |
- outer_context, function, scope->GetScopeInfo()); |
+ outer_context, function, scope->GetScopeInfo(isolate())); |
HInstruction* instr = Add<HStoreFrameContext>(inner_context); |
set_scope(scope); |
environment()->BindContext(inner_context); |