Index: src/compiler/osr.cc |
diff --git a/src/compiler/osr.cc b/src/compiler/osr.cc |
index 663cf57808715cd5dad5fe99dfa9bc9071a34982..43e139d25033bdeeff2ac511257f1c7044e39b12 100644 |
--- a/src/compiler/osr.cc |
+++ b/src/compiler/osr.cc |
@@ -99,7 +99,7 @@ static void PeelOuterLoopsForOsr(Graph* graph, CommonOperatorBuilder* common, |
} |
copy = graph->NewNode(orig->op(), orig->InputCount(), &tmp_inputs[0]); |
if (NodeProperties::IsTyped(orig)) { |
- NodeProperties::SetBounds(copy, NodeProperties::GetBounds(orig)); |
+ NodeProperties::SetType(copy, NodeProperties::GetType(orig)); |
} |
mapping->at(orig->id()) = copy; |
TRACE(" copy #%d:%s -> #%d\n", orig->id(), orig->op()->mnemonic(), |