Index: test/cctest/compiler/test-basic-block-profiler.cc |
diff --git a/test/cctest/compiler/test-basic-block-profiler.cc b/test/cctest/compiler/test-basic-block-profiler.cc |
index 703fc176ad2df110f7eb95275bbc5e265ddddadf..fa4da9a736a4d0fba533c7d3d1b78165d5998016 100644 |
--- a/test/cctest/compiler/test-basic-block-profiler.cc |
+++ b/test/cctest/compiler/test-basic-block-profiler.cc |
@@ -24,7 +24,7 @@ class BasicBlockProfilerTest : public RawMachineAssemblerTester<int32_t> { |
void ResetCounts() { isolate()->basic_block_profiler()->ResetCounts(); } |
void Expect(size_t size, uint32_t* expected) { |
- CHECK_NE(NULL, isolate()->basic_block_profiler()); |
+ CHECK(isolate()->basic_block_profiler()); |
const BasicBlockProfiler::DataList* l = |
isolate()->basic_block_profiler()->data_list(); |
CHECK_NE(0, static_cast<int>(l->size())); |