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

Unified Diff: runtime/vm/parser.h

Issue 1307363005: Add optional message argument to assert statements in the VM. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: More tests. Created 4 years, 1 month 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
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index 004913e9ae43b005d018b0cbf38974f042034fc4..fe4235d43e1087338043306e0f1daf7e1d6c233f 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -859,6 +859,9 @@ class Parser : public ValueObject {
AstNode* node,
LocalScope* scope);
+ AstNode* MakeAssertCall(TokenPosition begin,
+ TokenPosition end,
+ AstNode* message);
SequenceNode* MakeImplicitConstructor(const Function& func);
AstNode* MakeStaticCall(const String& cls_name,
const String& func_name,
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/parser.cc » ('j') | sdk/lib/core/errors.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698