Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index de57bf33e529f75dc964faf9053fe3ce60d8f701..2c330e378d0ce40568787f326693e80d48a4b664 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -307,7 +307,7 @@ void Deoptimizer::DeoptimizeMarkedCodeForContext(Context* context) { |
// Move marked code from the optimized code list to the deoptimized |
// code list, collecting them into a ZoneList. |
- Zone zone; |
+ Zone zone(isolate->allocator()); |
ZoneList<Code*> codes(10, &zone); |
// Walk over all optimized code objects in this native context. |