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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // This makes it easier to measure time spent in the compiler. | 60 // This makes it easier to measure time spent in the compiler. |
61 void InitCompiler(); | 61 void InitCompiler(); |
62 | 62 |
63 void CompileGraph(); | 63 void CompileGraph(); |
64 | 64 |
65 void VisitBlocks(); | 65 void VisitBlocks(); |
66 | 66 |
67 // Bail out of the flow graph compiler. Does not return to the caller. | 67 // Bail out of the flow graph compiler. Does not return to the caller. |
68 void Bailout(const char* reason); | 68 void Bailout(const char* reason); |
69 | 69 |
70 void LoadDoubleOrSmiToXmm(XmmRegister result, | 70 void LoadDoubleOrSmiToFpu(FpuRegister result, |
71 Register reg, | 71 Register reg, |
72 Register temp, | 72 Register temp, |
73 Label* not_double_or_smi); | 73 Label* not_double_or_smi); |
74 | 74 |
75 // Returns 'true' if code generation for this function is complete, i.e., | 75 // Returns 'true' if code generation for this function is complete, i.e., |
76 // no fall-through to regular code is needed. | 76 // no fall-through to regular code is needed. |
77 bool TryIntrinsify(); | 77 bool TryIntrinsify(); |
78 | 78 |
79 void GenerateCallRuntime(intptr_t token_pos, | 79 void GenerateCallRuntime(intptr_t token_pos, |
80 const RuntimeEntry& entry, | 80 const RuntimeEntry& entry, |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 // that should be used when deoptimizing we store it in this variable. | 360 // that should be used when deoptimizing we store it in this variable. |
361 // In future AddDeoptStub should be moved out of the instruction template. | 361 // In future AddDeoptStub should be moved out of the instruction template. |
362 Environment* pending_deoptimization_env_; | 362 Environment* pending_deoptimization_env_; |
363 | 363 |
364 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 364 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
365 }; | 365 }; |
366 | 366 |
367 } // namespace dart | 367 } // namespace dart |
368 | 368 |
369 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 369 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
OLD | NEW |