Index: runtime/vm/flow_graph.cc |
diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc |
index 53106a88f3d2da9630eeb41af961c3ea5c2e26c1..b6984ac3142a6c14a35107df36b6e658d3431477 100644 |
--- a/runtime/vm/flow_graph.cc |
+++ b/runtime/vm/flow_graph.cc |
@@ -185,7 +185,7 @@ class BlockTraversalState { |
void FlowGraph::DiscoverBlocks() { |
- StackZone zone(isolate()); |
+ StackZone zone(thread()); |
// Initialize state. |
preorder_.Clear(); |