Index: src/optimizing-compiler-thread.cc |
diff --git a/src/optimizing-compiler-thread.cc b/src/optimizing-compiler-thread.cc |
index ed1e56acd5ee0d363f5674fdb86a4f4bd3e598c1..5999df9d6d724916c4c3d5d99f177e0e29c70a5c 100644 |
--- a/src/optimizing-compiler-thread.cc |
+++ b/src/optimizing-compiler-thread.cc |
@@ -102,7 +102,7 @@ OptimizingCompilerThread::~OptimizingCompilerThread() { |
if (FLAG_concurrent_osr) { |
#ifdef DEBUG |
for (int i = 0; i < osr_buffer_capacity_; i++) { |
- CHECK_EQ(NULL, osr_buffer_[i]); |
+ CHECK_NULL(osr_buffer_[i]); |
} |
#endif |
DeleteArray(osr_buffer_); |
@@ -178,7 +178,7 @@ OptimizedCompileJob* OptimizingCompilerThread::NextInput(StopFlag* flag) { |
return NULL; |
} |
OptimizedCompileJob* job = input_queue_[InputQueueIndex(0)]; |
- DCHECK_NE(NULL, job); |
+ DCHECK_NOT_NULL(job); |
input_queue_shift_ = InputQueueIndex(1); |
input_queue_length_--; |
if (flag) { |
@@ -189,7 +189,7 @@ OptimizedCompileJob* OptimizingCompilerThread::NextInput(StopFlag* flag) { |
void OptimizingCompilerThread::CompileNext(OptimizedCompileJob* job) { |
- DCHECK_NE(NULL, job); |
+ DCHECK_NOT_NULL(job); |
// The function may have already been optimized by OSR. Simply continue. |
OptimizedCompileJob::Status status = job->OptimizeGraph(); |