| 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_CODE_GENERATOR_X64_H_ | 5 #ifndef VM_CODE_GENERATOR_X64_H_ |
| 6 #define VM_CODE_GENERATOR_X64_H_ | 6 #define VM_CODE_GENERATOR_X64_H_ |
| 7 | 7 |
| 8 #ifndef VM_CODE_GENERATOR_H_ | 8 #ifndef VM_CODE_GENERATOR_H_ |
| 9 #error Do not include code_generator_x64.h directly; use code_generator.h. | 9 #error Do not include code_generator_x64.h directly; use code_generator.h. |
| 10 #endif | 10 #endif |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 void HandleBackwardBranch(intptr_t loop_id, intptr_t token_index); | 215 void HandleBackwardBranch(intptr_t loop_id, intptr_t token_index); |
| 216 | 216 |
| 217 void ErrorMsg(intptr_t token_index, const char* format, ...); | 217 void ErrorMsg(intptr_t token_index, const char* format, ...); |
| 218 | 218 |
| 219 int generate_next_try_index() { return try_index_ += 1; } | 219 int generate_next_try_index() { return try_index_ += 1; } |
| 220 | 220 |
| 221 void MarkDeoptPoint(intptr_t node_id, intptr_t token_index); | 221 void MarkDeoptPoint(intptr_t node_id, intptr_t token_index); |
| 222 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 222 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 223 intptr_t node_id, | 223 intptr_t node_id, |
| 224 intptr_t token_index); | 224 intptr_t token_index); |
| 225 void CopyParameters(); |
| 225 | 226 |
| 226 Assembler* assembler_; | 227 Assembler* assembler_; |
| 227 const ParsedFunction& parsed_function_; | 228 const ParsedFunction& parsed_function_; |
| 228 intptr_t locals_space_size_; | 229 intptr_t locals_space_size_; |
| 229 CodeGeneratorState* state_; | 230 CodeGeneratorState* state_; |
| 230 DescriptorList* pc_descriptors_list_; | 231 DescriptorList* pc_descriptors_list_; |
| 231 HandlerList* exception_handlers_list_; | 232 HandlerList* exception_handlers_list_; |
| 232 int try_index_; | 233 int try_index_; |
| 233 | 234 |
| 234 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); | 235 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 | 238 |
| 238 } // namespace dart | 239 } // namespace dart |
| 239 | 240 |
| 240 #endif // VM_CODE_GENERATOR_X64_H_ | 241 #endif // VM_CODE_GENERATOR_X64_H_ |
| OLD | NEW |