Index: src/compiler/osr.cc |
diff --git a/src/compiler/osr.cc b/src/compiler/osr.cc |
index 86a71430f1aa406c670205da3ac5fdb9a5794671..187e61230c7447e634ef3fd207bc2323aa066f53 100644 |
--- a/src/compiler/osr.cc |
+++ b/src/compiler/osr.cc |
@@ -84,8 +84,8 @@ static void PeelOuterLoopsForOsr(Graph* graph, CommonOperatorBuilder* common, |
} |
// Copy all nodes. |
- for (size_t i = 0; i < all.live.size(); i++) { |
- Node* orig = all.live[i]; |
+ for (size_t i = 0; i < all.reachable.size(); i++) { |
+ Node* orig = all.reachable[i]; |
Node* copy = mapping->at(orig->id()); |
if (copy != sentinel) { |
// Mapping already exists. |
@@ -113,7 +113,7 @@ static void PeelOuterLoopsForOsr(Graph* graph, CommonOperatorBuilder* common, |
} |
// Fix missing inputs. |
- for (Node* orig : all.live) { |
+ for (Node* orig : all.reachable) { |
Node* copy = mapping->at(orig->id()); |
for (int j = 0; j < copy->InputCount(); j++) { |
if (copy->InputAt(j) == sentinel) { |