| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 // This makes it easier to measure time spent in the compiler. | 63 // This makes it easier to measure time spent in the compiler. |
| 64 void InitCompiler(); | 64 void InitCompiler(); |
| 65 | 65 |
| 66 void CompileGraph(); | 66 void CompileGraph(); |
| 67 | 67 |
| 68 void VisitBlocks(); | 68 void VisitBlocks(); |
| 69 | 69 |
| 70 // Bail out of the flow graph compiler. Does not return to the caller. | 70 // Bail out of the flow graph compiler. Does not return to the caller. |
| 71 void Bailout(const char* reason); | 71 void Bailout(const char* reason); |
| 72 | 72 |
| 73 void LoadDoubleOrSmiToXmm(XmmRegister result, |
| 74 Register reg, |
| 75 Register temp, |
| 76 Label* not_double_or_smi); |
| 77 |
| 73 // Returns 'true' if code generation for this function is complete, i.e., | 78 // Returns 'true' if code generation for this function is complete, i.e., |
| 74 // no fall-through to regular code is needed. | 79 // no fall-through to regular code is needed. |
| 75 bool TryIntrinsify(); | 80 bool TryIntrinsify(); |
| 76 | 81 |
| 77 virtual void GenerateCallRuntime(intptr_t cid, | 82 virtual void GenerateCallRuntime(intptr_t cid, |
| 78 intptr_t token_index, | 83 intptr_t token_index, |
| 79 intptr_t try_index, | 84 intptr_t try_index, |
| 80 const RuntimeEntry& entry); | 85 const RuntimeEntry& entry); |
| 81 | 86 |
| 82 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit | 87 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 GrowableArray<Register> registers_; | 291 GrowableArray<Register> registers_; |
| 287 Label entry_label_; | 292 Label entry_label_; |
| 288 | 293 |
| 289 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); | 294 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); |
| 290 }; | 295 }; |
| 291 | 296 |
| 292 | 297 |
| 293 } // namespace dart | 298 } // namespace dart |
| 294 | 299 |
| 295 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ | 300 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ |
| OLD | NEW |