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

Unified Diff: src/parsing/parser.h

Issue 2154253002: [parser] Refactor some CHECK_OK calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | src/parsing/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index 76611dfae55bdc4fe6e92aa2fc2c06b574d5f983..237c851e5691a165bbf4f130051328a45ef8af7f 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -475,6 +475,9 @@ class ParserTraits {
const AstRawString* arg,
ParseErrorType error_type = kSyntaxError);
+ // A dummy function, just useful as an argument to CHECK_OK_CUSTOM.
+ static void Void() {}
+
// "null" return type creators.
static const AstRawString* EmptyIdentifier() {
return NULL;
« no previous file with comments | « no previous file | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698