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

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

Issue 247683002: Reapply "Mark private functions in dart:* that are native or constructors as not visible (omitted f… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: regen snapshot test Created 6 years, 8 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') | runtime/vm/raw_object_snapshot.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"
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 RawObject** to() { 770 RawObject** to() {
771 return reinterpret_cast<RawObject**>(&ptr()->loaded_scripts_); 771 return reinterpret_cast<RawObject**>(&ptr()->loaded_scripts_);
772 } 772 }
773 773
774 intptr_t index_; // Library id number. 774 intptr_t index_; // Library id number.
775 intptr_t num_imports_; // Number of entries in imports_. 775 intptr_t num_imports_; // Number of entries in imports_.
776 intptr_t num_anonymous_; // Number of entries in anonymous_classes_. 776 intptr_t num_anonymous_; // Number of entries in anonymous_classes_.
777 Dart_NativeEntryResolver native_entry_resolver_; // Resolves natives. 777 Dart_NativeEntryResolver native_entry_resolver_; // Resolves natives.
778 Dart_NativeEntrySymbol native_entry_symbol_resolver_; 778 Dart_NativeEntrySymbol native_entry_symbol_resolver_;
779 bool corelib_imported_; 779 bool corelib_imported_;
780 bool is_dart_scheme_;
780 bool debuggable_; // True if debugger can stop in library. 781 bool debuggable_; // True if debugger can stop in library.
781 int8_t load_state_; // Of type LibraryState. 782 int8_t load_state_; // Of type LibraryState.
782 783
783 friend class Isolate; 784 friend class Isolate;
784 }; 785 };
785 786
786 787
787 class RawNamespace : public RawObject { 788 class RawNamespace : public RawObject {
788 RAW_HEAP_OBJECT_IMPLEMENTATION(Namespace); 789 RAW_HEAP_OBJECT_IMPLEMENTATION(Namespace);
789 790
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 // Make sure this is updated when new TypedData types are added. 1806 // Make sure this is updated when new TypedData types are added.
1806 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); 1807 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14);
1807 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); 1808 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15);
1808 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); 1809 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14);
1809 return (kNullCid - kTypedDataInt8ArrayCid); 1810 return (kNullCid - kTypedDataInt8ArrayCid);
1810 } 1811 }
1811 1812
1812 } // namespace dart 1813 } // namespace dart
1813 1814
1814 #endif // VM_RAW_OBJECT_H_ 1815 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698