| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 name##_library_ = value.raw(); \ | 286 name##_library_ = value.raw(); \ |
| 287 break; | 287 break; |
| 288 | 288 |
| 289 FOR_EACH_BOOTSTRAP_LIBRARY(MAKE_CASE) | 289 FOR_EACH_BOOTSTRAP_LIBRARY(MAKE_CASE) |
| 290 #undef MAKE_CASE | 290 #undef MAKE_CASE |
| 291 default: | 291 default: |
| 292 UNREACHABLE(); | 292 UNREACHABLE(); |
| 293 } | 293 } |
| 294 } | 294 } |
| 295 | 295 |
| 296 RawLibrary* builtin_library() const { return builtin_library_; } |
| 296 void set_builtin_library(const Library& value) { | 297 void set_builtin_library(const Library& value) { |
| 297 builtin_library_ = value.raw(); | 298 builtin_library_ = value.raw(); |
| 298 } | 299 } |
| 299 | 300 |
| 300 RawLibrary* native_wrappers_library() const { | 301 RawLibrary* native_wrappers_library() const { |
| 301 return native_wrappers_library_; | 302 return native_wrappers_library_; |
| 302 } | 303 } |
| 303 void set_native_wrappers_library(const Library& value) { | 304 void set_native_wrappers_library(const Library& value) { |
| 304 native_wrappers_library_ = value.raw(); | 305 native_wrappers_library_ = value.raw(); |
| 305 } | 306 } |
| (...skipping 314 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 |