Index: test/unittests/compiler/instruction-sequence-unittest.cc |
diff --git a/test/unittests/compiler/instruction-sequence-unittest.cc b/test/unittests/compiler/instruction-sequence-unittest.cc |
index af9e4733f8874932acb95bce09fb3365915c7e6a..c2e626fd5981b92445200d8266373540e58be431 100644 |
--- a/test/unittests/compiler/instruction-sequence-unittest.cc |
+++ b/test/unittests/compiler/instruction-sequence-unittest.cc |
@@ -290,22 +290,20 @@ Instruction* InstructionSequenceTest::EmitBranch(TestOperand input_op) { |
ConvertInputOp(Imm()), ConvertInputOp(Imm())}; |
InstructionCode opcode = kArchJmp | FlagsModeField::encode(kFlags_branch) | |
FlagsConditionField::encode(kEqual); |
- auto instruction = |
- NewInstruction(opcode, 0, nullptr, 4, inputs)->MarkAsControl(); |
+ auto instruction = NewInstruction(opcode, 0, nullptr, 4, inputs); |
return AddInstruction(instruction); |
} |
Instruction* InstructionSequenceTest::EmitFallThrough() { |
- auto instruction = NewInstruction(kArchNop, 0, nullptr)->MarkAsControl(); |
+ auto instruction = NewInstruction(kArchNop, 0, nullptr); |
return AddInstruction(instruction); |
} |
Instruction* InstructionSequenceTest::EmitJump() { |
InstructionOperand inputs[1]{ConvertInputOp(Imm())}; |
- auto instruction = |
- NewInstruction(kArchJmp, 0, nullptr, 1, inputs)->MarkAsControl(); |
+ auto instruction = NewInstruction(kArchJmp, 0, nullptr, 1, inputs); |
return AddInstruction(instruction); |
} |