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

Side by Side Diff: vm/code_generator_arm.h

Issue 9721006: Second set of changes for implementation of stack map support. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | « vm/code_generator.cc ('k') | vm/code_generator_ia32.h » ('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) 2011, 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_ARM_H_ 5 #ifndef VM_CODE_GENERATOR_ARM_H_
6 #define VM_CODE_GENERATOR_ARM_H_ 6 #define VM_CODE_GENERATOR_ARM_H_
7 7
8 #ifndef VM_CODE_GENERATOR_H_ 8 #ifndef VM_CODE_GENERATOR_H_
9 #error Do not include code_generator_arm.h directly; use assembler.h instead. 9 #error Do not include code_generator_arm.h directly; use assembler.h instead.
10 #endif 10 #endif
11 11
(...skipping 17 matching lines...) Expand all
29 bool GenerateCode() { 29 bool GenerateCode() {
30 return false; 30 return false;
31 } 31 }
32 32
33 // Add exception handler table to code. 33 // Add exception handler table to code.
34 void FinalizeExceptionHandlers(const Code& code) { UNIMPLEMENTED(); } 34 void FinalizeExceptionHandlers(const Code& code) { UNIMPLEMENTED(); }
35 35
36 // Add pc descriptors to code. 36 // Add pc descriptors to code.
37 void FinalizePcDescriptors(const Code& code) { UNIMPLEMENTED(); } 37 void FinalizePcDescriptors(const Code& code) { UNIMPLEMENTED(); }
38 38
39 // Add stack maps to code.
40 void FinalizeStackmaps(const Code& code) { UNIMPLEMENTED(); }
41
39 // Add local variable descriptors to code. 42 // Add local variable descriptors to code.
40 void FinalizeVarDescriptors(const Code& code) { UNIMPLEMENTED(); } 43 void FinalizeVarDescriptors(const Code& code) { UNIMPLEMENTED(); }
41 44
42 // Allocate and return an arguments descriptor. 45 // Allocate and return an arguments descriptor.
43 // Let 'num_names' be the length of 'optional_arguments_names'. 46 // Let 'num_names' be the length of 'optional_arguments_names'.
44 // Treat the first 'num_arguments - num_names' arguments as positional and 47 // Treat the first 'num_arguments - num_names' arguments as positional and
45 // treat the following 'num_names' arguments as named optional arguments. 48 // treat the following 'num_names' arguments as named optional arguments.
46 static const Array& ArgumentsDescriptor( 49 static const Array& ArgumentsDescriptor(
47 int num_arguments, 50 int num_arguments,
48 const Array& optional_arguments_names); 51 const Array& optional_arguments_names);
49 52
50 // Return true if the VM may optimize functions. 53 // Return true if the VM may optimize functions.
51 static bool CanOptimize(); 54 static bool CanOptimize();
52 55
53 private: 56 private:
54 // Forward declarations. 57 // Forward declarations.
55 class DescriptorList; 58 class DescriptorList;
56 59
57 DescriptorList* pc_descriptors_list_; 60 DescriptorList* pc_descriptors_list_;
58 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 61 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
59 }; 62 };
60 63
61 } // namespace dart 64 } // namespace dart
62 65
63 #endif // VM_CODE_GENERATOR_ARM_H_ 66 #endif // VM_CODE_GENERATOR_ARM_H_
OLDNEW
« no previous file with comments | « vm/code_generator.cc ('k') | vm/code_generator_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698