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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 10914008: Add explicit smi-checks to smi comparisons. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 11616)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -32,6 +32,13 @@
virtual void VisitBind(BindInstr* instr);
virtual void VisitBranch(BranchInstr* instr);
+ // TODO(fschneider): Once we get rid of the distinction between Instruction
+ // and computation, this can be made private again.
+ BindInstr* InsertBefore(Instruction* instr,
+ Computation* comp,
+ Environment* env,
+ BindInstr::UseKind use_kind);
+
private:
bool TryReplaceWithArrayOp(BindInstr* instr,
InstanceCallComp* comp,
@@ -51,11 +58,6 @@
void AddCheckClass(BindInstr* instr, InstanceCallComp* comp, Value* value);
- BindInstr* InsertBefore(Instruction* instr,
- Computation* comp,
- Environment* env,
- BindInstr::UseKind use_kind);
-
BindInstr* InsertAfter(Instruction* instr,
Computation* comp,
Environment* env,
« 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