| Index: test/cctest/compiler/test-instruction.cc
|
| diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc
|
| index 47e661028ca1a36d2f23aa910ef442fde8a8de78..a884d28c18ed7b519c670a7032e2048e2198d245 100644
|
| --- a/test/cctest/compiler/test-instruction.cc
|
| +++ b/test/cctest/compiler/test-instruction.cc
|
| @@ -135,7 +135,7 @@ TEST(InstructionBasic) {
|
| for (auto block : *blocks) {
|
| CHECK_EQ(block->rpo_number(), R.BlockAt(block)->rpo_number().ToInt());
|
| CHECK_EQ(block->id().ToInt(), R.BlockAt(block)->id().ToInt());
|
| - CHECK_EQ(NULL, block->loop_end());
|
| + CHECK(!block->loop_end());
|
| }
|
| }
|
|
|
| @@ -278,7 +278,7 @@ TEST(InstructionAddGapMove) {
|
| R.code->AddGapMove(index, op1, op2);
|
| GapInstruction* gap = R.code->GapAt(index);
|
| ParallelMove* move = gap->GetParallelMove(GapInstruction::START);
|
| - CHECK_NE(NULL, move);
|
| + CHECK(move);
|
| const ZoneList<MoveOperands>* move_operands = move->move_operands();
|
| CHECK_EQ(1, move_operands->length());
|
| MoveOperands* cur = &move_operands->at(0);
|
|
|