| Index: runtime/vm/jit_optimizer.h
|
| diff --git a/runtime/vm/jit_optimizer.h b/runtime/vm/jit_optimizer.h
|
| index 23dd278db3d4671297dfbe95918f6e5a72f8ef35..4b323d55f11ac773c720d79d8133138c27c460b2 100644
|
| --- a/runtime/vm/jit_optimizer.h
|
| +++ b/runtime/vm/jit_optimizer.h
|
| @@ -10,6 +10,7 @@
|
|
|
| namespace dart {
|
|
|
| +struct CidRangeTarget;
|
| class CSEInstructionMap;
|
| template <typename T>
|
| class GrowableArray;
|
| @@ -44,6 +45,12 @@ class JitOptimizer : public FlowGraphVisitor {
|
| flow_graph_->InsertBefore(next, instr, env, use_kind);
|
| }
|
|
|
| + // Creates the off-heap PolymorphicTargets object that reflects the contents
|
| + // of the on-VM-heap IC data. Also expands the class-ids to neighbouring
|
| + // classes that inherit the same method.
|
| + static PolymorphicTargets* CreatePolymorphicTargets(Zone* zone,
|
| + const ICData& ic_data);
|
| +
|
| private:
|
| // Attempt to build ICData for call using propagated class-ids.
|
| bool TryCreateICData(InstanceCallInstr* call);
|
| @@ -52,12 +59,6 @@ class JitOptimizer : public FlowGraphVisitor {
|
|
|
| bool TryReplaceWithIndexedOp(InstanceCallInstr* call);
|
|
|
| - void TryExpandClassesInICData(const ICData& ic_data);
|
| - bool LookupMethodFor(int class_id,
|
| - const ArgumentsDescriptor& args_desc,
|
| - const String& name,
|
| - Function* fn_return);
|
| -
|
| bool TryReplaceWithBinaryOp(InstanceCallInstr* call, Token::Kind op_kind);
|
| bool TryReplaceWithUnaryOp(InstanceCallInstr* call, Token::Kind op_kind);
|
|
|
|
|