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

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

Issue 8289027: Set type argument vector at compile time in type of closure parameters; this (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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/parser.cc ('k') | no next file » | 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 RawArray* functions_; 193 RawArray* functions_;
194 RawArray* fields_; 194 RawArray* fields_;
195 RawArray* interfaces_; // Array of Type. 195 RawArray* interfaces_; // Array of Type.
196 RawScript* script_; 196 RawScript* script_;
197 RawLibrary* library_; 197 RawLibrary* library_;
198 RawArray* type_parameters_; // Array of String. 198 RawArray* type_parameters_; // Array of String.
199 RawTypeArray* type_parameter_extends_; // VarType if no extends clause. 199 RawTypeArray* type_parameter_extends_; // VarType if no extends clause.
200 RawType* super_type_; 200 RawType* super_type_;
201 RawType* factory_type_; 201 RawType* factory_type_;
202 RawFunction* signature_function_; // Associated function for signature class. 202 RawFunction* signature_function_; // Associated function for signature class.
203 RawType* signature_type_; // Cached function type for signature class.
203 RawArray* functions_cache_; // See class FunctionsCache. 204 RawArray* functions_cache_; // See class FunctionsCache.
204 RawArray* constants_; // Canonicalized values of this class. 205 RawArray* constants_; // Canonicalized values of this class.
205 RawCode* allocation_stub_; // Stub code for allocation of instances. 206 RawCode* allocation_stub_; // Stub code for allocation of instances.
206 RawObject** to() { 207 RawObject** to() {
207 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_); 208 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_);
208 } 209 }
209 210
210 cpp_vtable handle_vtable_; 211 cpp_vtable handle_vtable_;
211 intptr_t instance_size_; 212 intptr_t instance_size_;
212 ObjectKind instance_kind_; 213 ObjectKind instance_kind_;
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 intptr_t type_; // Uninitialized, simple or complex. 754 intptr_t type_; // Uninitialized, simple or complex.
754 intptr_t flags_; // Represents global/local, case insensitive, multiline. 755 intptr_t flags_; // Represents global/local, case insensitive, multiline.
755 756
756 // Variable length data follows here. 757 // Variable length data follows here.
757 uint8_t data_[0]; 758 uint8_t data_[0];
758 }; 759 };
759 760
760 } // namespace dart 761 } // namespace dart
761 762
762 #endif // VM_RAW_OBJECT_H_ 763 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698