| Index: runtime/vm/flow_graph_optimizer.h
|
| ===================================================================
|
| --- runtime/vm/flow_graph_optimizer.h (revision 27045)
|
| +++ runtime/vm/flow_graph_optimizer.h (working copy)
|
| @@ -51,7 +51,6 @@
|
|
|
| virtual void VisitStaticCall(StaticCallInstr* instr);
|
| virtual void VisitInstanceCall(InstanceCallInstr* instr);
|
| - virtual void VisitRelationalOp(RelationalOpInstr* instr);
|
| virtual void VisitEqualityCompare(EqualityCompareInstr* instr);
|
| virtual void VisitBranch(BranchInstr* instr);
|
| virtual void VisitStrictCompare(StrictCompareInstr* instr);
|
| @@ -82,6 +81,8 @@
|
| bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind);
|
| bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind);
|
|
|
| + bool TryReplaceWithRelationalOp(InstanceCallInstr* call, Token::Kind op_kind);
|
| +
|
| bool TryInlineInstanceGetter(InstanceCallInstr* call);
|
| bool TryInlineInstanceSetter(InstanceCallInstr* call,
|
| const ICData& unary_ic_data);
|
| @@ -163,12 +164,6 @@
|
| void ReplaceWithMathCFunction(InstanceCallInstr* call,
|
| MethodRecognizer::Kind recognized_kind);
|
|
|
| - void HandleComparison(ComparisonInstr* comp,
|
| - const ICData& ic_data,
|
| - Instruction* current_instruction);
|
| -
|
| - void HandleRelationalOp(RelationalOpInstr* comp);
|
| -
|
| // Visit an equality compare. The current instruction can be the
|
| // comparison itself or a branch on the comparison.
|
| template <typename T>
|
|
|