Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index d9f3381cb8d7e4c1e1fe62d0a50779c5336cbe89..f1c9bcdb4afed0b3942e9a05b531e6f6c9fd2f14 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -208,7 +208,7 @@ |
R.allocCode(); |
TestInstr* i0 = TestInstr::New(R.zone(), 100); |
- TestInstr* g = TestInstr::New(R.zone(), 103); |
+ TestInstr* g = TestInstr::New(R.zone(), 103)->MarkAsControl(); |
R.code->StartBlock(b0->GetRpoNumber()); |
R.code->AddInstruction(i0); |
R.code->AddInstruction(g); |
@@ -231,14 +231,14 @@ |
R.allocCode(); |
TestInstr* i0 = TestInstr::New(R.zone(), 100); |
- TestInstr* g = TestInstr::New(R.zone(), 103); |
+ TestInstr* g = TestInstr::New(R.zone(), 103)->MarkAsControl(); |
R.code->StartBlock(b0->GetRpoNumber()); |
R.code->AddInstruction(i0); |
R.code->AddInstruction(g); |
R.code->EndBlock(b0->GetRpoNumber()); |
TestInstr* i1 = TestInstr::New(R.zone(), 102); |
- TestInstr* g1 = TestInstr::New(R.zone(), 104); |
+ TestInstr* g1 = TestInstr::New(R.zone(), 104)->MarkAsControl(); |
R.code->StartBlock(b1->GetRpoNumber()); |
R.code->AddInstruction(i1); |
R.code->AddInstruction(g1); |
@@ -259,7 +259,7 @@ |
R.allocCode(); |
TestInstr* i0 = TestInstr::New(R.zone(), 100); |
- TestInstr* g = TestInstr::New(R.zone(), 103); |
+ TestInstr* g = TestInstr::New(R.zone(), 103)->MarkAsControl(); |
R.code->StartBlock(b0->GetRpoNumber()); |
R.code->AddInstruction(i0); |
R.code->AddInstruction(g); |