| Index: runtime/vm/aot_optimizer.h
|
| diff --git a/runtime/vm/aot_optimizer.h b/runtime/vm/aot_optimizer.h
|
| index a497b07b999bd5fb2eb25dcaa6d3d4ca5c70d8bd..972a71cf6e08b90091be204ee025e6cf96757b4a 100644
|
| --- a/runtime/vm/aot_optimizer.h
|
| +++ b/runtime/vm/aot_optimizer.h
|
| @@ -41,11 +41,6 @@ class AotOptimizer : public FlowGraphVisitor {
|
| // Use propagated class ids to optimize, replace or eliminate instructions.
|
| void ApplyClassIds();
|
|
|
| - // Optimize (a << b) & c pattern: if c is a positive Smi or zero, then the
|
| - // shift can be a truncating Smi shift-left and result is always Smi.
|
| - // Merge instructions (only per basic-block).
|
| - void TryOptimizePatterns();
|
| -
|
| void ReplaceArrayBoundChecks();
|
|
|
| virtual void VisitStaticCall(StaticCallInstr* instr);
|
| @@ -115,12 +110,6 @@ class AotOptimizer : public FlowGraphVisitor {
|
| bool InstanceCallNeedsClassCheck(InstanceCallInstr* call,
|
| RawFunction::Kind kind) const;
|
|
|
| - bool InlineFloat32x4Getter(InstanceCallInstr* call,
|
| - MethodRecognizer::Kind getter);
|
| - bool InlineFloat64x2Getter(InstanceCallInstr* call,
|
| - MethodRecognizer::Kind getter);
|
| - bool InlineInt32x4Getter(InstanceCallInstr* call,
|
| - MethodRecognizer::Kind getter);
|
| bool InlineFloat32x4BinaryOp(InstanceCallInstr* call,
|
| Token::Kind op_kind);
|
| bool InlineInt32x4BinaryOp(InstanceCallInstr* call,
|
| @@ -136,14 +125,6 @@ class AotOptimizer : public FlowGraphVisitor {
|
| void ReplaceWithMathCFunction(InstanceCallInstr* call,
|
| MethodRecognizer::Kind recognized_kind);
|
|
|
| - void OptimizeLeftShiftBitAndSmiOp(Definition* bit_and_instr,
|
| - Definition* left_instr,
|
| - Definition* right_instr);
|
| - void TryMergeTruncDivMod(GrowableArray<BinarySmiOpInstr*>* merge_candidates);
|
| - void TryMergeMathUnary(GrowableArray<MathUnaryInstr*>* merge_candidates);
|
| -
|
| - void AppendExtractNthOutputForMerged(Definition* instr, intptr_t ix,
|
| - Representation rep, intptr_t cid);
|
| bool TryStringLengthOneEquality(InstanceCallInstr* call, Token::Kind op_kind);
|
|
|
| RawField* GetField(intptr_t class_id, const String& field_name);
|
|
|