Index: runtime/vm/flow_graph_builder.h |
=================================================================== |
--- runtime/vm/flow_graph_builder.h (revision 37514) |
+++ runtime/vm/flow_graph_builder.h (working copy) |
@@ -155,9 +155,11 @@ |
return ic_data_array_; |
} |
- void WarnOnJSIntegralNumTypeTest(AstNode* node, |
+ // Return true if a Javascript compatibility warning should be emitted at |
+ // runtime for this type test. |
+ bool WarnOnJSIntegralNumTypeTest(AstNode* node, |
const AbstractType& type) const; |
- void JSWarning(intptr_t token_pos, const char* msg) const; |
+ |
void Bailout(const char* reason) const; |
intptr_t AllocateBlockId() { return ++last_used_block_id_; } |