OLD | NEW |
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 RUNTIME_VM_OBJECT_STORE_H_ | 5 #ifndef RUNTIME_VM_OBJECT_STORE_H_ |
6 #define RUNTIME_VM_OBJECT_STORE_H_ | 6 #define RUNTIME_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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 name##_library_ = value.raw(); \ | 283 name##_library_ = value.raw(); \ |
284 break; | 284 break; |
285 | 285 |
286 FOR_EACH_BOOTSTRAP_LIBRARY(MAKE_CASE) | 286 FOR_EACH_BOOTSTRAP_LIBRARY(MAKE_CASE) |
287 #undef MAKE_CASE | 287 #undef MAKE_CASE |
288 default: | 288 default: |
289 UNREACHABLE(); | 289 UNREACHABLE(); |
290 } | 290 } |
291 } | 291 } |
292 | 292 |
| 293 RawLibrary* builtin_library() const { return builtin_library_; } |
293 void set_builtin_library(const Library& value) { | 294 void set_builtin_library(const Library& value) { |
294 builtin_library_ = value.raw(); | 295 builtin_library_ = value.raw(); |
295 } | 296 } |
296 | 297 |
297 RawLibrary* native_wrappers_library() const { | 298 RawLibrary* native_wrappers_library() const { |
298 return native_wrappers_library_; | 299 return native_wrappers_library_; |
299 } | 300 } |
300 void set_native_wrappers_library(const Library& value) { | 301 void set_native_wrappers_library(const Library& value) { |
301 native_wrappers_library_ = value.raw(); | 302 native_wrappers_library_ = value.raw(); |
302 } | 303 } |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 | 621 |
621 friend class Serializer; | 622 friend class Serializer; |
622 friend class Deserializer; | 623 friend class Deserializer; |
623 | 624 |
624 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 625 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
625 }; | 626 }; |
626 | 627 |
627 } // namespace dart | 628 } // namespace dart |
628 | 629 |
629 #endif // RUNTIME_VM_OBJECT_STORE_H_ | 630 #endif // RUNTIME_VM_OBJECT_STORE_H_ |
OLD | NEW |