Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index c6093ce6e4976c73e7cf8774441a133d2f588d62..631bdde5ceac72435d199dc52c7f84728ed2fb7d 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -175,7 +175,7 @@ class FunctionTester : public InitializedHandleScope { |
uint32_t flags_; |
Handle<JSFunction> Compile(Handle<JSFunction> function) { |
- Zone zone; |
+ Zone zone(function->GetIsolate()->allocator()); |
ParseInfo parse_info(&zone, function); |
CompilationInfo info(&parse_info); |
info.MarkAsDeoptimizationEnabled(); |
@@ -224,7 +224,7 @@ class FunctionTester : public InitializedHandleScope { |
// Compile the given machine graph instead of the source of the function |
// and replace the JSFunction's code with the result. |
Handle<JSFunction> CompileGraph(Graph* graph) { |
- Zone zone; |
+ Zone zone(function->GetIsolate()->allocator()); |
ParseInfo parse_info(&zone, function); |
CompilationInfo info(&parse_info); |