Index: test/cctest/compiler/graph-builder-tester.cc |
diff --git a/test/cctest/compiler/graph-builder-tester.cc b/test/cctest/compiler/graph-builder-tester.cc |
index 38bc6337111b7edfab14f4b631a031c6b7524a3e..de39410d32188116f1daba547b3a92e67c886f7d 100644 |
--- a/test/cctest/compiler/graph-builder-tester.cc |
+++ b/test/cctest/compiler/graph-builder-tester.cc |
@@ -21,7 +21,7 @@ MachineCallHelper::MachineCallHelper(Isolate* isolate, |
void MachineCallHelper::InitParameters(GraphBuilder* builder, |
CommonOperatorBuilder* common) { |
- DCHECK(!parameters_); |
+ DCHECK_EQ(NULL, parameters_); |
graph_ = builder->graph(); |
int param_count = static_cast<int>(parameter_count()); |
if (param_count == 0) return; |
@@ -46,7 +46,7 @@ byte* MachineCallHelper::Generate() { |
Node* MachineCallHelper::Parameter(size_t index) { |
- DCHECK(parameters_); |
+ DCHECK_NE(NULL, parameters_); |
DCHECK(index < parameter_count()); |
return parameters_[index]; |
} |