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

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

Issue 1436243005: Collect closure functions in isolate (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/service.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/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 private: 644 private:
645 RAW_HEAP_OBJECT_IMPLEMENTATION(Class); 645 RAW_HEAP_OBJECT_IMPLEMENTATION(Class);
646 646
647 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); } 647 RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->name_); }
648 RawString* name_; 648 RawString* name_;
649 RawString* user_name_; 649 RawString* user_name_;
650 RawArray* functions_; 650 RawArray* functions_;
651 RawArray* functions_hash_table_; 651 RawArray* functions_hash_table_;
652 RawArray* fields_; 652 RawArray* fields_;
653 RawArray* offset_in_words_to_field_; 653 RawArray* offset_in_words_to_field_;
654 RawGrowableObjectArray* closure_functions_; // Local functions and literals.
655 RawArray* interfaces_; // Array of AbstractType. 654 RawArray* interfaces_; // Array of AbstractType.
656 RawGrowableObjectArray* direct_subclasses_; // Array of Class. 655 RawGrowableObjectArray* direct_subclasses_; // Array of Class.
657 RawScript* script_; 656 RawScript* script_;
658 RawLibrary* library_; 657 RawLibrary* library_;
659 RawTypeArguments* type_parameters_; // Array of TypeParameter. 658 RawTypeArguments* type_parameters_; // Array of TypeParameter.
660 RawAbstractType* super_type_; 659 RawAbstractType* super_type_;
661 RawType* mixin_; // Generic mixin type, e.g. M<T>, not M<int>. 660 RawType* mixin_; // Generic mixin type, e.g. M<T>, not M<int>.
662 RawFunction* signature_function_; // Associated function for signature class. 661 RawFunction* signature_function_; // Associated function for signature class.
663 RawArray* constants_; // Canonicalized values of this class. 662 RawArray* constants_; // Canonicalized values of this class.
664 RawObject* canonical_types_; // An array of canonicalized types of this class 663 RawObject* canonical_types_; // An array of canonicalized types of this class
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after
2266 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2265 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2267 kTypedDataInt8ArrayViewCid + 15); 2266 kTypedDataInt8ArrayViewCid + 15);
2268 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2267 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2269 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2268 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2270 return (kNullCid - kTypedDataInt8ArrayCid); 2269 return (kNullCid - kTypedDataInt8ArrayCid);
2271 } 2270 }
2272 2271
2273 } // namespace dart 2272 } // namespace dart
2274 2273
2275 #endif // VM_RAW_OBJECT_H_ 2274 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698