Index: test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc |
diff --git a/test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc b/test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc |
index 7bb5bcebdaf25a0dbd81764719b8640e2112df2d..97c117d7440b204fb921f209a64377980a3e86cc 100644 |
--- a/test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc |
+++ b/test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc |
@@ -12,6 +12,7 @@ |
#include "src/isolate.h" |
#include "src/objects-inl.h" |
#include "src/parsing/parse-info.h" |
+#include "src/zone/zone.h" |
#include "test/unittests/compiler-dispatcher/compiler-dispatcher-helper.h" |
#include "test/unittests/test-utils.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -28,7 +29,8 @@ |
BlockingCompilationJob(Isolate* isolate, Handle<JSFunction> function) |
: CompilationJob(isolate, &info_, "BlockingCompilationJob", |
State::kReadyToExecute), |
- parse_info_(handle(function->shared())), |
+ zone_(isolate->allocator(), ZONE_NAME), |
+ parse_info_(&zone_, handle(function->shared())), |
info_(&parse_info_, function), |
blocking_(false), |
semaphore_(0) {} |
@@ -53,6 +55,7 @@ |
Status FinalizeJobImpl() override { return SUCCEEDED; } |
private: |
+ Zone zone_; |
ParseInfo parse_info_; |
CompilationInfo info_; |
base::AtomicValue<bool> blocking_; |