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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 340203003: Cleanup of error and warning reporting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 37456)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -157,10 +157,7 @@
void WarnOnJSIntegralNumTypeTest(AstNode* node,
const AbstractType& type) const;
-
- void Warning(intptr_t token_pos, const char* format, ...) const
- PRINTF_ATTRIBUTE(3, 4);
-
+ void JSWarning(intptr_t token_pos, const char* msg) const;
void Bailout(const char* reason) const;
intptr_t AllocateBlockId() { return ++last_used_block_id_; }

Powered by Google App Engine
This is Rietveld 408576698