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

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

Issue 8992020: First part of inspecting local variables (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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_IA32_H_ 5 #ifndef VM_CODE_GENERATOR_IA32_H_
6 #define VM_CODE_GENERATOR_IA32_H_ 6 #define VM_CODE_GENERATOR_IA32_H_
7 7
8 #ifndef VM_CODE_GENERATOR_H_ 8 #ifndef VM_CODE_GENERATOR_H_
9 #error Do not include code_generator_ia32.h directly; use code_generator.h. 9 #error Do not include code_generator_ia32.h directly; use code_generator.h.
10 #endif 10 #endif
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 CodeGeneratorState* state() const { return state_; } 102 CodeGeneratorState* state() const { return state_; }
103 void set_state(CodeGeneratorState* state) { state_ = state; } 103 void set_state(CodeGeneratorState* state) { state_ = state; }
104 104
105 // Add exception handler table to code. 105 // Add exception handler table to code.
106 void FinalizeExceptionHandlers(const Code& code); 106 void FinalizeExceptionHandlers(const Code& code);
107 107
108 // Add pc descriptors to code. 108 // Add pc descriptors to code.
109 void FinalizePcDescriptors(const Code& code); 109 void FinalizePcDescriptors(const Code& code);
110 110
111 // Add local variable descriptors to code.
112 void FinalizeVarDescriptors(const Code& code);
113
111 // Allocate and return an arguments descriptor. 114 // Allocate and return an arguments descriptor.
112 // Let 'num_names' be the length of 'optional_arguments_names'. 115 // Let 'num_names' be the length of 'optional_arguments_names'.
113 // Treat the first 'num_arguments - num_names' arguments as positional and 116 // Treat the first 'num_arguments - num_names' arguments as positional and
114 // treat the following 'num_names' arguments as named optional arguments. 117 // treat the following 'num_names' arguments as named optional arguments.
115 static const Array& ArgumentsDescriptor( 118 static const Array& ArgumentsDescriptor(
116 int num_arguments, 119 int num_arguments,
117 const Array& optional_arguments_names); 120 const Array& optional_arguments_names);
118 121
119 virtual bool IsOptimizing() const { 122 virtual bool IsOptimizing() const {
120 return false; 123 return false;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 DescriptorList* pc_descriptors_list_; 223 DescriptorList* pc_descriptors_list_;
221 HandlerList* exception_handlers_list_; 224 HandlerList* exception_handlers_list_;
222 int try_index_; 225 int try_index_;
223 226
224 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 227 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
225 }; 228 };
226 229
227 } // namespace dart 230 } // namespace dart
228 231
229 #endif // VM_CODE_GENERATOR_IA32_H_ 232 #endif // VM_CODE_GENERATOR_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698