Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index e6e44ea1748c587d6db835d1d2e47e2a4cb0159b..5d0043896551a3881337d487ae45fd6a3420d0c3 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -55,7 +55,8 @@ class InstructionTester : public HandleAndZoneScope { |
} |
InstructionBlocks* instruction_blocks = |
TestInstrSeq::InstructionBlocksFor(main_zone(), &schedule); |
- code = new (main_zone()) TestInstrSeq(main_zone(), instruction_blocks); |
+ code = new (main_zone()) |
+ TestInstrSeq(main_isolate(), main_zone(), instruction_blocks); |
} |
Node* Int32Constant(int32_t val) { |
@@ -288,7 +289,7 @@ TEST(InstructionAddGapMove) { |
TEST(InstructionOperands) { |
- Zone zone(CcTest::InitIsolateOnce()); |
+ Zone zone; |
{ |
TestInstr* i = TestInstr::New(&zone, 101); |