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

Unified Diff: src/ast.h

Issue 888613002: Initial switch to Chromium-style CHECK_* and DCHECK_* macros. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix slow dchecks. Created 5 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/assert-scope.cc ('k') | src/ast.cc » ('j') | src/checks.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast.h
diff --git a/src/ast.h b/src/ast.h
index 02f7df64b0d62bbaa9c1eb717ce1db6f8d4939b5..e7175ba5879d001eeb5bfa08d1acb238dadfa015 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -1651,7 +1651,7 @@ class VariableProxy FINAL : public Expression {
}
void set_var(Variable* v) {
DCHECK(!is_resolved());
- DCHECK_NOT_NULL(v);
+ DCHECK(v);
var_ = v;
}
« no previous file with comments | « src/assert-scope.cc ('k') | src/ast.cc » ('j') | src/checks.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698