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_X64_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_ |
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_X64_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_x64.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. |
10 #endif | 10 #endif |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // This makes it easier to measure time spent in the compiler. | 59 // This makes it easier to measure time spent in the compiler. |
60 void InitCompiler(); | 60 void InitCompiler(); |
61 | 61 |
62 void CompileGraph(); | 62 void CompileGraph(); |
63 | 63 |
64 void VisitBlocks(); | 64 void VisitBlocks(); |
65 | 65 |
66 // Bail out of the flow graph compiler. Does not return to the caller. | 66 // Bail out of the flow graph compiler. Does not return to the caller. |
67 void Bailout(const char* reason); | 67 void Bailout(const char* reason); |
68 | 68 |
69 void LoadDoubleOrSmiToXmm(XmmRegister result, | 69 void LoadDoubleOrSmiToFpu(FpuRegister result, |
70 Register reg, | 70 Register reg, |
71 Register temp, | 71 Register temp, |
72 Label* not_double_or_smi); | 72 Label* not_double_or_smi); |
73 | 73 |
74 // Returns 'true' if code generation for this function is complete, i.e., | 74 // Returns 'true' if code generation for this function is complete, i.e., |
75 // no fall-through to regular code is needed. | 75 // no fall-through to regular code is needed. |
76 bool TryIntrinsify(); | 76 bool TryIntrinsify(); |
77 | 77 |
78 void GenerateCallRuntime(intptr_t token_pos, | 78 void GenerateCallRuntime(intptr_t token_pos, |
79 const RuntimeEntry& entry, | 79 const RuntimeEntry& entry, |
(...skipping 280 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_X64_H_ | 369 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
OLD | NEW |