Index: src/compiler/osr.cc |
diff --git a/src/compiler/osr.cc b/src/compiler/osr.cc |
index 2eccf302f50212f49d44eebd8d27c32193a4aa25..b0592c9d4ccbe3086740a1d8fb434930cdd327e0 100644 |
--- a/src/compiler/osr.cc |
+++ b/src/compiler/osr.cc |
@@ -207,7 +207,7 @@ bool OsrHelper::Deconstruct(JSGraph* jsgraph, CommonOperatorBuilder* common, |
// Analyze the graph to determine how deeply nested the OSR loop is. |
LoopTree* loop_tree = LoopFinder::BuildLoopTree(graph, tmp_zone); |
- Node* dead = graph->NewNode(common->Dead()); |
+ Node* dead = jsgraph->DeadControl(); |
LoopTree::Loop* loop = loop_tree->ContainingLoop(osr_loop); |
if (loop->depth() > 0) { |
PeelOuterLoopsForOsr(graph, common, tmp_zone, dead, loop_tree, loop, |