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

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

Issue 8403003: Rename the VM internal 'var' type to 'Dynamic' type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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/parser.cc ('k') | runtime/vm/scopes_test.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) 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_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "vm/assert.h" 8 #include "vm/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/snapshot.h" 10 #include "vm/snapshot.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 RAW_HEAP_OBJECT_IMPLEMENTATION(Class); 190 RAW_HEAP_OBJECT_IMPLEMENTATION(Class);
191 191
192 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); } 192 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
193 RawString* name_; 193 RawString* name_;
194 RawArray* functions_; 194 RawArray* functions_;
195 RawArray* fields_; 195 RawArray* fields_;
196 RawArray* interfaces_; // Array of Type. 196 RawArray* interfaces_; // Array of Type.
197 RawScript* script_; 197 RawScript* script_;
198 RawLibrary* library_; 198 RawLibrary* library_;
199 RawArray* type_parameters_; // Array of String. 199 RawArray* type_parameters_; // Array of String.
200 RawTypeArray* type_parameter_extends_; // VarType if no extends clause. 200 RawTypeArray* type_parameter_extends_; // DynamicType if no extends clause.
201 RawType* super_type_; 201 RawType* super_type_;
202 RawType* factory_type_; 202 RawType* factory_type_;
203 RawFunction* signature_function_; // Associated function for signature class. 203 RawFunction* signature_function_; // Associated function for signature class.
204 RawType* signature_type_; // Cached function type for signature class. 204 RawType* signature_type_; // Cached function type for signature class.
205 RawArray* functions_cache_; // See class FunctionsCache. 205 RawArray* functions_cache_; // See class FunctionsCache.
206 RawArray* constants_; // Canonicalized values of this class. 206 RawArray* constants_; // Canonicalized values of this class.
207 RawCode* allocation_stub_; // Stub code for allocation of instances. 207 RawCode* allocation_stub_; // Stub code for allocation of instances.
208 RawObject** to() { 208 RawObject** to() {
209 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_); 209 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_);
210 } 210 }
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 intptr_t type_; // Uninitialized, simple or complex. 770 intptr_t type_; // Uninitialized, simple or complex.
771 intptr_t flags_; // Represents global/local, case insensitive, multiline. 771 intptr_t flags_; // Represents global/local, case insensitive, multiline.
772 772
773 // Variable length data follows here. 773 // Variable length data follows here.
774 uint8_t data_[0]; 774 uint8_t data_[0];
775 }; 775 };
776 776
777 } // namespace dart 777 } // namespace dart
778 778
779 #endif // VM_RAW_OBJECT_H_ 779 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/scopes_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698