Index: runtime/vm/megamorphic_cache_table.cc |
diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc |
index 3291b0ffca9150c6a35102170e12f5235eb10dd2..3bbc5291fc9fcd925c96c623c6cba1e8adac1b44 100644 |
--- a/runtime/vm/megamorphic_cache_table.cc |
+++ b/runtime/vm/megamorphic_cache_table.cc |
@@ -88,7 +88,7 @@ void MegamorphicCacheTable::VisitObjectPointers(ObjectPointerVisitor* v) { |
void MegamorphicCacheTable::PrintSizes() { |
- StackZone zone(Isolate::Current()); |
+ StackZone zone(Thread::Current()); |
intptr_t size = 0; |
MegamorphicCache& cache = MegamorphicCache::Handle(); |
Array& buckets = Array::Handle(); |