Index: test/cctest/compiler/test-loop-assignment-analysis.cc |
diff --git a/test/cctest/compiler/test-loop-assignment-analysis.cc b/test/cctest/compiler/test-loop-assignment-analysis.cc |
index aabd95bc231b9e6619798646ffeec029b7ba9c8c..6f379641f2ccf754d5f309df75d019a577257680 100644 |
--- a/test/cctest/compiler/test-loop-assignment-analysis.cc |
+++ b/test/cctest/compiler/test-loop-assignment-analysis.cc |
@@ -37,18 +37,18 @@ struct TestHelper : public HandleAndZoneScope { |
Scope* scope = info.function()->scope(); |
AstValueFactory* factory = info.ast_value_factory(); |
- CHECK_NE(NULL, scope); |
+ CHECK(scope); |
if (result == NULL) { |
AstLoopAssignmentAnalyzer analyzer(main_zone(), &info); |
result = analyzer.Analyze(); |
- CHECK_NE(NULL, result); |
+ CHECK(result); |
} |
const i::AstRawString* name = factory->GetOneByteString(var_name); |
i::Variable* var = scope->Lookup(name); |
- CHECK_NE(NULL, var); |
+ CHECK(var); |
if (var->location() == Variable::UNALLOCATED) { |
CHECK_EQ(0, expected); |