Index: src/compiler/generic-algorithm.h |
diff --git a/src/compiler/generic-algorithm.h b/src/compiler/generic-algorithm.h |
index a755d2486033033f8b33a06e401b2a52c0255dfc..4b695c714d851ca93c52e2d7229351dadb80384f 100644 |
--- a/src/compiler/generic-algorithm.h |
+++ b/src/compiler/generic-algorithm.h |
@@ -70,13 +70,13 @@ class GenericGraphVisit { |
post_order_node = Traits::from(stack.top().first); |
visit = true; |
} else { |
- visitor->PreEdge(Traits::from(top.first), top.first.edge().index(), |
+ visitor->PreEdge(Traits::from(top.first), (*top.first).index(), |
Traits::to(top.first)); |
current = Traits::to(top.first); |
if (!GetVisited(&visited, current->id())) break; |
} |
top = stack.top(); |
- visitor->PostEdge(Traits::from(top.first), top.first.edge().index(), |
+ visitor->PostEdge(Traits::from(top.first), (*top.first).index(), |
Traits::to(top.first)); |
++stack.top().first; |
} |