Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index 53562953eee46e3aedd52fd032b587bbefd05af2..a1bd2686edbdcda922eff7130feca5d4116696f5 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -46,7 +46,7 @@ class InstructionTester : public HandleAndZoneScope { |
if (schedule.rpo_order()->size() == 0) { |
// Compute the RPO order. |
Scheduler::ComputeSpecialRPO(main_zone(), &schedule); |
- DCHECK(schedule.rpo_order()->size() > 0); |
+ CHECK_NE(0u, schedule.rpo_order()->size()); |
} |
InstructionBlocks* instruction_blocks = |
TestInstrSeq::InstructionBlocksFor(main_zone(), &schedule); |