| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 void GenerateTypeArguments(ConstructorCallNode* node, | 196 void GenerateTypeArguments(ConstructorCallNode* node, |
| 197 bool is_cls_parameterized); | 197 bool is_cls_parameterized); |
| 198 | 198 |
| 199 void TestClassAndJump(const Class& cls, Label *label); | 199 void TestClassAndJump(const Class& cls, Label *label); |
| 200 | 200 |
| 201 intptr_t locals_space_size() const { return locals_space_size_; } | 201 intptr_t locals_space_size() const { return locals_space_size_; } |
| 202 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } | 202 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } |
| 203 | 203 |
| 204 bool IsResultNeeded(AstNode* node) const; | 204 bool IsResultNeeded(AstNode* node) const; |
| 205 | 205 |
| 206 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label); | 206 void GenerateCall(intptr_t token_index, |
| 207 const ExternalLabel* ext_label, |
| 208 PcDescriptors::Kind desc_kind); |
| 207 void GenerateCallRuntime(intptr_t node_id, | 209 void GenerateCallRuntime(intptr_t node_id, |
| 208 intptr_t token_index, | 210 intptr_t token_index, |
| 209 const RuntimeEntry& entry); | 211 const RuntimeEntry& entry); |
| 210 | 212 |
| 211 void GenerateInlinedFinallyBlocks(SourceLabel* label); | 213 void GenerateInlinedFinallyBlocks(SourceLabel* label); |
| 212 | 214 |
| 213 void ErrorMsg(intptr_t token_index, const char* format, ...); | 215 void ErrorMsg(intptr_t token_index, const char* format, ...); |
| 214 | 216 |
| 215 int generate_next_try_index() { return try_index_ += 1; } | 217 int generate_next_try_index() { return try_index_ += 1; } |
| 216 | 218 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 227 HandlerList* exception_handlers_list_; | 229 HandlerList* exception_handlers_list_; |
| 228 int try_index_; | 230 int try_index_; |
| 229 | 231 |
| 230 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); | 232 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); |
| 231 }; | 233 }; |
| 232 | 234 |
| 233 | 235 |
| 234 } // namespace dart | 236 } // namespace dart |
| 235 | 237 |
| 236 #endif // VM_CODE_GENERATOR_X64_H_ | 238 #endif // VM_CODE_GENERATOR_X64_H_ |
| OLD | NEW |