| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_ | 5 #ifndef VM_FLOW_GRAPH_OPTIMIZER_H_ | 
| 6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ | 6 #define VM_FLOW_GRAPH_OPTIMIZER_H_ | 
| 7 | 7 | 
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" | 
| 9 #include "vm/flow_graph.h" | 9 #include "vm/flow_graph.h" | 
| 10 | 10 | 
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 83                         Instruction* deopt_target); | 83                         Instruction* deopt_target); | 
| 84 | 84 | 
| 85   bool InstanceCallNeedsClassCheck(InstanceCallInstr* call) const; | 85   bool InstanceCallNeedsClassCheck(InstanceCallInstr* call) const; | 
| 86 | 86 | 
| 87   void InlineImplicitInstanceGetter(InstanceCallInstr* call); | 87   void InlineImplicitInstanceGetter(InstanceCallInstr* call); | 
| 88   void InlineArrayLengthGetter(InstanceCallInstr* call, | 88   void InlineArrayLengthGetter(InstanceCallInstr* call, | 
| 89                                intptr_t length_offset, | 89                                intptr_t length_offset, | 
| 90                                bool is_immutable); | 90                                bool is_immutable); | 
| 91   void InlineGArrayCapacityGetter(InstanceCallInstr* call); | 91   void InlineGArrayCapacityGetter(InstanceCallInstr* call); | 
| 92   void InlineStringLengthGetter(InstanceCallInstr* call); | 92   void InlineStringLengthGetter(InstanceCallInstr* call); | 
| 93   void InlineStringIsEmptyTester(InstanceCallInstr* call); | 93   void InlineStringIsEmptyGetter(InstanceCallInstr* call); | 
| 94 | 94 | 
| 95   FlowGraph* flow_graph_; | 95   FlowGraph* flow_graph_; | 
| 96 | 96 | 
| 97   DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer); | 97   DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer); | 
| 98 }; | 98 }; | 
| 99 | 99 | 
| 100 | 100 | 
| 101 class ParsedFunction; | 101 class ParsedFunction; | 
| 102 | 102 | 
| 103 | 103 | 
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 222 | 222 | 
| 223   // Worklists of blocks and definitions. | 223   // Worklists of blocks and definitions. | 
| 224   GrowableArray<BlockEntryInstr*> block_worklist_; | 224   GrowableArray<BlockEntryInstr*> block_worklist_; | 
| 225   GrowableArray<Definition*> definition_worklist_; | 225   GrowableArray<Definition*> definition_worklist_; | 
| 226 }; | 226 }; | 
| 227 | 227 | 
| 228 | 228 | 
| 229 }  // namespace dart | 229 }  // namespace dart | 
| 230 | 230 | 
| 231 #endif  // VM_FLOW_GRAPH_OPTIMIZER_H_ | 231 #endif  // VM_FLOW_GRAPH_OPTIMIZER_H_ | 
| OLD | NEW | 
|---|