Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index 5021acf016942b3eb0a2005af585ced832b5972c..22d46e7e3932eda59a1361888770475f265464e0 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -200,7 +200,7 @@ TEST(InstructionIsGapAt) { |
R.allocCode(); |
TestInstr* i0 = TestInstr::New(R.zone(), 100); |
- TestInstr* g = TestInstr::New(R.zone(), 103)->MarkAsControl(); |
+ TestInstr* g = TestInstr::New(R.zone(), 103); |
R.code->StartBlock(R.RpoFor(b0)); |
R.code->AddInstruction(i0); |
R.code->AddInstruction(g); |
@@ -223,14 +223,14 @@ TEST(InstructionIsGapAt2) { |
R.allocCode(); |
TestInstr* i0 = TestInstr::New(R.zone(), 100); |
- TestInstr* g = TestInstr::New(R.zone(), 103)->MarkAsControl(); |
+ TestInstr* g = TestInstr::New(R.zone(), 103); |
R.code->StartBlock(R.RpoFor(b0)); |
R.code->AddInstruction(i0); |
R.code->AddInstruction(g); |
R.code->EndBlock(R.RpoFor(b0)); |
TestInstr* i1 = TestInstr::New(R.zone(), 102); |
- TestInstr* g1 = TestInstr::New(R.zone(), 104)->MarkAsControl(); |
+ TestInstr* g1 = TestInstr::New(R.zone(), 104); |
R.code->StartBlock(R.RpoFor(b1)); |
R.code->AddInstruction(i1); |
R.code->AddInstruction(g1); |
@@ -251,7 +251,7 @@ TEST(InstructionAddGapMove) { |
R.allocCode(); |
TestInstr* i0 = TestInstr::New(R.zone(), 100); |
- TestInstr* g = TestInstr::New(R.zone(), 103)->MarkAsControl(); |
+ TestInstr* g = TestInstr::New(R.zone(), 103); |
R.code->StartBlock(R.RpoFor(b0)); |
R.code->AddInstruction(i0); |
R.code->AddInstruction(g); |