| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); | 149 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); |
| 150 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 150 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 151 intptr_t cid, | 151 intptr_t cid, |
| 152 intptr_t token_index, | 152 intptr_t token_index, |
| 153 intptr_t try_index); | 153 intptr_t try_index); |
| 154 Label* AddDeoptStub(intptr_t deopt_id, | 154 Label* AddDeoptStub(intptr_t deopt_id, |
| 155 intptr_t deopt_token_index, | 155 intptr_t deopt_token_index, |
| 156 intptr_t try_index_, | 156 intptr_t try_index_, |
| 157 DeoptReasonId reason, | 157 DeoptReasonId reason, |
| 158 Register reg1, | 158 Register reg1, |
| 159 Register reg2); | 159 Register reg2, |
| 160 Register reg3 = kNoRegister); |
| 160 | 161 |
| 161 void FinalizeExceptionHandlers(const Code& code); | 162 void FinalizeExceptionHandlers(const Code& code); |
| 162 void FinalizePcDescriptors(const Code& code); | 163 void FinalizePcDescriptors(const Code& code); |
| 163 void FinalizeStackmaps(const Code& code); | 164 void FinalizeStackmaps(const Code& code); |
| 164 void FinalizeVarDescriptors(const Code& code); | 165 void FinalizeVarDescriptors(const Code& code); |
| 165 void FinalizeComments(const Code& code); | 166 void FinalizeComments(const Code& code); |
| 166 | 167 |
| 167 static const int kLocalsOffsetFromFP = (-1 * kWordSize); | 168 static const int kLocalsOffsetFromFP = (-1 * kWordSize); |
| 168 | 169 |
| 169 private: | 170 private: |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 const DeoptReasonId reason_; | 294 const DeoptReasonId reason_; |
| 294 GrowableArray<Register> registers_; | 295 GrowableArray<Register> registers_; |
| 295 Label entry_label_; | 296 Label entry_label_; |
| 296 | 297 |
| 297 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); | 298 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); |
| 298 }; | 299 }; |
| 299 | 300 |
| 300 } // namespace dart | 301 } // namespace dart |
| 301 | 302 |
| 302 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 303 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |