Index: runtime/vm/deopt_instructions.cc |
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc |
index 326076038cdcf46b8ea4850aaf0e691ef077196d..d6e2568a9856fe51b78a38b57cc1319986d4f4ac 100644 |
--- a/runtime/vm/deopt_instructions.cc |
+++ b/runtime/vm/deopt_instructions.cc |
@@ -1191,7 +1191,7 @@ intptr_t DeoptInfoBuilder::FindMaterialization( |
static uint8_t* ZoneReAlloc(uint8_t* ptr, |
intptr_t old_size, |
intptr_t new_size) { |
- return Isolate::Current()->current_zone()->Realloc<uint8_t>( |
+ return Thread::Current()->zone()->Realloc<uint8_t>( |
ptr, old_size, new_size); |
} |