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

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: Created 5 years, 4 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
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index ece272949ccec809dd1b83eb9ede6f3e32515ac2..7cbcf8790e5c2a853827375c9a6e9810eef6ac50 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -782,7 +782,7 @@ class Parser : public ValueObject {
const String& func_name,
ArgumentListNode* arguments);
String& Interpolate(const GrowableArray<AstNode*>& values);
- AstNode* MakeAssertCall(intptr_t begin, intptr_t end);
+ AstNode* MakeAssertCall(intptr_t begin, intptr_t end, AstNode* message);
AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type,
LibraryPrefix* prefix = NULL);
AstNode* ThrowNoSuchMethodError(intptr_t call_pos,

Powered by Google App Engine
This is Rietveld 408576698