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

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
« no previous file with comments | « vm/object.cc ('k') | vm/object_store.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) 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 RawLibrary* core_library() const { return core_library_; } 190 RawLibrary* core_library() const { return core_library_; }
191 void set_core_library(const Library& value) { 191 void set_core_library(const Library& value) {
192 core_library_ = value.raw(); 192 core_library_ = value.raw();
193 } 193 }
194 194
195 RawLibrary* core_impl_library() const { return core_impl_library_; } 195 RawLibrary* core_impl_library() const { return core_impl_library_; }
196 void set_core_impl_library(const Library& value) { 196 void set_core_impl_library(const Library& value) {
197 core_impl_library_ = value.raw(); 197 core_impl_library_ = value.raw();
198 } 198 }
199 199
200 RawLibrary* native_wrappers_library() const {
201 return native_wrappers_library_;
202 }
203 void set_native_wrappers_library(const Library& value) {
204 native_wrappers_library_ = value.raw();
205 }
206
200 RawLibrary* root_library() const { return root_library_; } 207 RawLibrary* root_library() const { return root_library_; }
201 void set_root_library(const Library& value) { 208 void set_root_library(const Library& value) {
202 root_library_ = value.raw(); 209 root_library_ = value.raw();
203 } 210 }
204 211
205 // Returns head of list of registered libraries. 212 // Returns head of list of registered libraries.
206 RawLibrary* registered_libraries() const { return registered_libraries_; } 213 RawLibrary* registered_libraries() const { return registered_libraries_; }
207 void set_registered_libraries(const Library& value) { 214 void set_registered_libraries(const Library& value) {
208 registered_libraries_ = value.raw(); 215 registered_libraries_ = value.raw();
209 } 216 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 RawClass* byte_buffer_class_; 280 RawClass* byte_buffer_class_;
274 RawClass* unhandled_exception_class_; 281 RawClass* unhandled_exception_class_;
275 RawClass* stacktrace_class_; 282 RawClass* stacktrace_class_;
276 RawClass* jsregexp_class_; 283 RawClass* jsregexp_class_;
277 RawBool* true_value_; 284 RawBool* true_value_;
278 RawBool* false_value_; 285 RawBool* false_value_;
279 RawArray* empty_array_; 286 RawArray* empty_array_;
280 RawArray* symbol_table_; 287 RawArray* symbol_table_;
281 RawLibrary* core_library_; 288 RawLibrary* core_library_;
282 RawLibrary* core_impl_library_; 289 RawLibrary* core_impl_library_;
290 RawLibrary* native_wrappers_library_;
283 RawLibrary* root_library_; 291 RawLibrary* root_library_;
284 RawLibrary* registered_libraries_; 292 RawLibrary* registered_libraries_;
285 RawArray* pending_classes_; 293 RawArray* pending_classes_;
286 RawString* sticky_error_; 294 RawString* sticky_error_;
287 RawContext* empty_context_; 295 RawContext* empty_context_;
288 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); } 296 RawObject** to() { return reinterpret_cast<RawObject**>(&empty_context_); }
289 297
290 friend class SnapshotReader; 298 friend class SnapshotReader;
291 299
292 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 300 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
293 }; 301 };
294 302
295 } // namespace dart 303 } // namespace dart
296 304
297 #endif // VM_OBJECT_STORE_H_ 305 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « vm/object.cc ('k') | vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698