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

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

Issue 10380019: Stop postponing instantiation of Type and remove InstantiatedType VM class. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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/object.cc ('k') | runtime/vm/raw_object.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_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 "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/token.h" 10 #include "vm/token.h"
11 #include "vm/snapshot.h" 11 #include "vm/snapshot.h"
12 12
13 #include "include/dart_api.h" 13 #include "include/dart_api.h"
14 14
15 namespace dart { 15 namespace dart {
16 16
17 // Macrobatics to define the Object hierarchy of VM implementation classes. 17 // Macrobatics to define the Object hierarchy of VM implementation classes.
18 #define CLASS_LIST_NO_OBJECT(V) \ 18 #define CLASS_LIST_NO_OBJECT(V) \
19 V(Class) \ 19 V(Class) \
20 V(UnresolvedClass) \ 20 V(UnresolvedClass) \
21 V(AbstractType) \ 21 V(AbstractType) \
22 V(Type) \ 22 V(Type) \
23 V(TypeParameter) \ 23 V(TypeParameter) \
24 V(InstantiatedType) \
25 V(AbstractTypeArguments) \ 24 V(AbstractTypeArguments) \
26 V(TypeArguments) \ 25 V(TypeArguments) \
27 V(InstantiatedTypeArguments) \ 26 V(InstantiatedTypeArguments) \
28 V(Function) \ 27 V(Function) \
29 V(Field) \ 28 V(Field) \
30 V(LiteralToken) \ 29 V(LiteralToken) \
31 V(TokenStream) \ 30 V(TokenStream) \
32 V(Script) \ 31 V(Script) \
33 V(Library) \ 32 V(Library) \
34 V(LibraryPrefix) \ 33 V(LibraryPrefix) \
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 intptr_t type_; // Uninitialized, simple or complex. 1357 intptr_t type_; // Uninitialized, simple or complex.
1359 intptr_t flags_; // Represents global/local, case insensitive, multiline. 1358 intptr_t flags_; // Represents global/local, case insensitive, multiline.
1360 1359
1361 // Variable length data follows here. 1360 // Variable length data follows here.
1362 uint8_t data_[0]; 1361 uint8_t data_[0];
1363 }; 1362 };
1364 1363
1365 } // namespace dart 1364 } // namespace dart
1366 1365
1367 #endif // VM_RAW_OBJECT_H_ 1366 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698