| 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_COMPILER_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/code_descriptors.h" | 10 #include "vm/code_descriptors.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 Label* jump_label_; | 228 Label* jump_label_; |
| 229 Label block_label_; | 229 Label block_label_; |
| 230 | 230 |
| 231 Label* fallthrough_label_; | 231 Label* fallthrough_label_; |
| 232 | 232 |
| 233 bool is_marked_; | 233 bool is_marked_; |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 public: | 236 public: |
| 237 FlowGraphCompiler(Assembler* assembler, | 237 FlowGraphCompiler(Assembler* assembler, |
| 238 const FlowGraph& flow_graph, | 238 FlowGraph* flow_graph, |
| 239 bool is_optimizing); | 239 bool is_optimizing); |
| 240 | 240 |
| 241 ~FlowGraphCompiler(); | 241 ~FlowGraphCompiler(); |
| 242 | 242 |
| 243 static bool SupportsUnboxedMints(); | 243 static bool SupportsUnboxedMints(); |
| 244 static bool SupportsInlinedTrigonometrics(); | 244 static bool SupportsInlinedTrigonometrics(); |
| 245 | 245 |
| 246 // Accessors. | 246 // Accessors. |
| 247 Assembler* assembler() const { return assembler_; } | 247 Assembler* assembler() const { return assembler_; } |
| 248 const ParsedFunction& parsed_function() const { return parsed_function_; } | 248 const ParsedFunction& parsed_function() const { return parsed_function_; } |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 // that should be used when deoptimizing we store it in this variable. | 601 // that should be used when deoptimizing we store it in this variable. |
| 602 // In future AddDeoptStub should be moved out of the instruction template. | 602 // In future AddDeoptStub should be moved out of the instruction template. |
| 603 Environment* pending_deoptimization_env_; | 603 Environment* pending_deoptimization_env_; |
| 604 | 604 |
| 605 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 605 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 606 }; | 606 }; |
| 607 | 607 |
| 608 } // namespace dart | 608 } // namespace dart |
| 609 | 609 |
| 610 #endif // VM_FLOW_GRAPH_COMPILER_H_ | 610 #endif // VM_FLOW_GRAPH_COMPILER_H_ |
| OLD | NEW |