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

Side by Side Diff: vm/object_store.h

Issue 8537023: Implement automatic loading of dart:core_native_fields library (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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
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_OBJECT_STORE_H_ 5 #ifndef VM_OBJECT_STORE_H_
6 #define VM_OBJECT_STORE_H_ 6 #define VM_OBJECT_STORE_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 RawLibrary* core_library() const { return core_library_; } 184 RawLibrary* core_library() const { return core_library_; }
185 void set_core_library(const Library& value) { 185 void set_core_library(const Library& value) {
186 core_library_ = value.raw(); 186 core_library_ = value.raw();
187 } 187 }
188 188
189 RawLibrary* core_impl_library() const { return core_impl_library_; } 189 RawLibrary* core_impl_library() const { return core_impl_library_; }
190 void set_core_impl_library(const Library& value) { 190 void set_core_impl_library(const Library& value) {
191 core_impl_library_ = value.raw(); 191 core_impl_library_ = value.raw();
192 } 192 }
193 193
194 RawLibrary* native_fields_library() const { return native_fields_library_; }
195 void set_native_fields_library(const Library& value) {
196 native_fields_library_ = value.raw();
197 }
198
194 RawLibrary* root_library() const { return root_library_; } 199 RawLibrary* root_library() const { return root_library_; }
195 void set_root_library(const Library& value) { 200 void set_root_library(const Library& value) {
196 root_library_ = value.raw(); 201 root_library_ = value.raw();
197 } 202 }
198 203
199 // Returns head of list of registered libraries. 204 // Returns head of list of registered libraries.
200 RawLibrary* registered_libraries() const { return registered_libraries_; } 205 RawLibrary* registered_libraries() const { return registered_libraries_; }
201 void set_registered_libraries(const Library& value) { 206 void set_registered_libraries(const Library& value) {
202 registered_libraries_ = value.raw(); 207 registered_libraries_ = value.raw();
203 } 208 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 RawClass* immutable_array_class_; 271 RawClass* immutable_array_class_;
267 RawClass* unhandled_exception_class_; 272 RawClass* unhandled_exception_class_;
268 RawClass* stacktrace_class_; 273 RawClass* stacktrace_class_;
269 RawClass* jsregexp_class_; 274 RawClass* jsregexp_class_;
270 RawBool* true_value_; 275 RawBool* true_value_;
271 RawBool* false_value_; 276 RawBool* false_value_;
272 RawArray* empty_array_; 277 RawArray* empty_array_;
273 RawArray* symbol_table_; 278 RawArray* symbol_table_;
274 RawLibrary* core_library_; 279 RawLibrary* core_library_;
275 RawLibrary* core_impl_library_; 280 RawLibrary* core_impl_library_;
281 RawLibrary* native_fields_library_;
276 RawLibrary* root_library_; 282 RawLibrary* root_library_;
277 RawLibrary* registered_libraries_; 283 RawLibrary* registered_libraries_;
278 RawArray* pending_classes_; 284 RawArray* pending_classes_;
279 RawString* sticky_error_; 285 RawString* sticky_error_;
280 RawContext* empty_context_; 286 RawContext* empty_context_;
281 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } 287 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); }
282 288
283 friend class SnapshotReader; 289 friend class SnapshotReader;
284 290
285 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 291 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
286 }; 292 };
287 293
288 } // namespace dart 294 } // namespace dart
289 295
290 #endif // VM_OBJECT_STORE_H_ 296 #endif // VM_OBJECT_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698