Index: runtime/vm/flow_graph_range_analysis.cc |
diff --git a/runtime/vm/flow_graph_range_analysis.cc b/runtime/vm/flow_graph_range_analysis.cc |
index 5fec37b1652698d348c6fa134a6d66dde4b0f1e8..cd4547903cb2bcf0796d4f405f69081f93e2a022 100644 |
--- a/runtime/vm/flow_graph_range_analysis.cc |
+++ b/runtime/vm/flow_graph_range_analysis.cc |
@@ -1516,7 +1516,7 @@ class BoundsCheckGeneralizer { |
char buffer[1024]; |
BufferFormatter f(buffer, sizeof(buffer)); |
PrettyPrintIndexBoundRecursively(&f, index_bound); |
- return Isolate::Current()->current_zone()->MakeCopyOfString(buffer); |
+ return Thread::Current()->zone()->MakeCopyOfString(buffer); |
} |
RangeAnalysis* range_analysis_; |