Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index cf7c9a7d7742dd12896768e6a566925e0d6680ab..8f54082c7a7269f102bb06661f330ff519e867af 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -979,7 +979,7 @@ void Verifier::Visitor::Check(Node* node) { |
void Verifier::Run(Graph* graph, Typing typing) { |
CHECK_NOT_NULL(graph->start()); |
CHECK_NOT_NULL(graph->end()); |
- Zone zone; |
+ Zone zone(graph->zone()->allocator()); |
Visitor visitor(&zone, typing); |
AllNodes all(&zone, graph); |
for (Node* node : all.live) visitor.Check(node); |
@@ -1069,7 +1069,7 @@ static void CheckInputsDominate(Schedule* schedule, BasicBlock* block, |
void ScheduleVerifier::Run(Schedule* schedule) { |
const size_t count = schedule->BasicBlockCount(); |
- Zone tmp_zone; |
+ Zone tmp_zone(schedule->zone()->allocator()); |
Zone* zone = &tmp_zone; |
BasicBlock* start = schedule->start(); |
BasicBlockVector* rpo_order = schedule->rpo_order(); |