Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: src/compiler/ast-loop-assignment-analyzer.h

Issue 1578723002: [turbofan] Build s/NULL/nullptr/g and CHECK(x != nullptr) to CHECK_NOT_NULL(x). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/ast-loop-assignment-analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ast-loop-assignment-analyzer.h
diff --git a/src/compiler/ast-loop-assignment-analyzer.h b/src/compiler/ast-loop-assignment-analyzer.h
index 7bb29bbb0c1c20f6657946eac71fd15925c89acc..169691135a97bce8ee00ae2f64c9590bb48160eb 100644
--- a/src/compiler/ast-loop-assignment-analyzer.h
+++ b/src/compiler/ast-loop-assignment-analyzer.h
@@ -26,7 +26,7 @@ class LoopAssignmentAnalysis : public ZoneObject {
if (list_[i].first == loop) return list_[i].second;
}
UNREACHABLE(); // should never ask for loops that aren't here!
- return NULL;
+ return nullptr;
}
int GetAssignmentCountForTesting(Scope* scope, Variable* var);
@@ -63,7 +63,7 @@ class AstLoopAssignmentAnalyzer : public AstVisitor {
void Exit(IterationStatement* loop);
void VisitIfNotNull(AstNode* node) {
- if (node != NULL) Visit(node);
+ if (node != nullptr) Visit(node);
}
void AnalyzeAssignment(Variable* var);
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/ast-loop-assignment-analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698