| 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 ae31f40c2e9a65ef64e9817dd424073792222d1c..6f1ac94caacb17f4173d8f04e93bdd63d86ae365 100644
|
| --- a/test/unittests/compiler/instruction-sequence-unittest.cc
|
| +++ b/test/unittests/compiler/instruction-sequence-unittest.cc
|
| @@ -260,20 +260,22 @@
|
| ConvertInputOp(Imm()), ConvertInputOp(Imm())};
|
| InstructionCode opcode = kArchJmp | FlagsModeField::encode(kFlags_branch) |
|
| FlagsConditionField::encode(kEqual);
|
| - auto instruction = NewInstruction(opcode, 0, nullptr, 4, inputs);
|
| + auto instruction =
|
| + NewInstruction(opcode, 0, nullptr, 4, inputs)->MarkAsControl();
|
| return AddInstruction(NewIndex(), instruction);
|
| }
|
|
|
|
|
| int InstructionSequenceTest::EmitFallThrough() {
|
| - auto instruction = NewInstruction(kArchNop, 0, nullptr);
|
| + auto instruction = NewInstruction(kArchNop, 0, nullptr)->MarkAsControl();
|
| return AddInstruction(NewIndex(), instruction);
|
| }
|
|
|
|
|
| int InstructionSequenceTest::EmitJump() {
|
| InstructionOperand* inputs[1]{ConvertInputOp(Imm())};
|
| - auto instruction = NewInstruction(kArchJmp, 0, nullptr, 1, inputs);
|
| + auto instruction =
|
| + NewInstruction(kArchJmp, 0, nullptr, 1, inputs)->MarkAsControl();
|
| return AddInstruction(NewIndex(), instruction);
|
| }
|
|
|
|
|