Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: runtime/vm/code_generator_x64.h

Issue 9693020: Optional arguments in new compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/code_generator_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/code_generator_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698