| 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_IA32_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ | 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. |
| 10 #endif | 10 #endif |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 virtual ~FlowGraphCompiler() { } | 34 virtual ~FlowGraphCompiler() { } |
| 35 | 35 |
| 36 void CompileGraph(); | 36 void CompileGraph(); |
| 37 | 37 |
| 38 // Infrastructure copied from class CodeGenerator or stubbed out. | 38 // Infrastructure copied from class CodeGenerator or stubbed out. |
| 39 void FinalizePcDescriptors(const Code& code); | 39 void FinalizePcDescriptors(const Code& code); |
| 40 void FinalizeStackmaps(const Code& code); | 40 void FinalizeStackmaps(const Code& code); |
| 41 void FinalizeVarDescriptors(const Code& code); | 41 void FinalizeVarDescriptors(const Code& code); |
| 42 void FinalizeExceptionHandlers(const Code& code); | 42 void FinalizeExceptionHandlers(const Code& code); |
| 43 void FinalizeComments(const Code& code); |
| 43 | 44 |
| 44 private: | 45 private: |
| 45 // Bail out of the flow graph compiler. Does not return to the caller. | 46 // Bail out of the flow graph compiler. Does not return to the caller. |
| 46 void Bailout(const char* reason); | 47 void Bailout(const char* reason); |
| 47 | 48 |
| 48 const ParsedFunction& parsed_function_; | 49 const ParsedFunction& parsed_function_; |
| 49 const bool is_optimizing_; | 50 const bool is_optimizing_; |
| 50 | 51 |
| 51 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 52 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace dart | 55 } // namespace dart |
| 55 | 56 |
| 56 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 57 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |