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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 10541135: Some cleanups, started implementing checked instance calls, better equality operation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.h
===================================================================
--- runtime/vm/flow_graph_optimizer.h (revision 8617)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -35,13 +35,13 @@
private:
void VisitBlocks();
- void TryReplaceWithBinaryOp(InstanceCallComp* comp, Token::Kind op_kind);
- void TryReplaceWithUnaryOp(InstanceCallComp* comp, Token::Kind op_kind);
+ bool TryReplaceWithBinaryOp(InstanceCallComp* comp, Token::Kind op_kind);
+ bool TryReplaceWithUnaryOp(InstanceCallComp* comp, Token::Kind op_kind);
- void TryInlineInstanceGetter(InstanceCallComp* comp);
- void TryInlineInstanceSetter(InstanceSetterComp* comp);
+ bool TryInlineInstanceGetter(InstanceCallComp* comp);
+ bool TryInlineInstanceSetter(InstanceSetterComp* comp);
- void TryInlineInstanceMethod(InstanceCallComp* comp);
+ bool TryInlineInstanceMethod(InstanceCallComp* comp);
DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer);
};
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698