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 #include "vm/object.h" | 5 #include "vm/object.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 7898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7909 | 7909 |
7910 RawLibrary* Library::MirrorsLibrary() { | 7910 RawLibrary* Library::MirrorsLibrary() { |
7911 return Isolate::Current()->object_store()->mirrors_library(); | 7911 return Isolate::Current()->object_store()->mirrors_library(); |
7912 } | 7912 } |
7913 | 7913 |
7914 | 7914 |
7915 RawLibrary* Library::NativeWrappersLibrary() { | 7915 RawLibrary* Library::NativeWrappersLibrary() { |
7916 return Isolate::Current()->object_store()->native_wrappers_library(); | 7916 return Isolate::Current()->object_store()->native_wrappers_library(); |
7917 } | 7917 } |
7918 | 7918 |
| 7919 RawLibrary* Library::PlatformLibrary() { |
| 7920 return Isolate::Current()->object_store()->platform_library(); |
| 7921 } |
| 7922 |
7919 | 7923 |
7920 RawLibrary* Library::TypedDataLibrary() { | 7924 RawLibrary* Library::TypedDataLibrary() { |
7921 return Isolate::Current()->object_store()->typed_data_library(); | 7925 return Isolate::Current()->object_store()->typed_data_library(); |
7922 } | 7926 } |
7923 | 7927 |
7924 | 7928 |
7925 RawLibrary* Library::UtfLibrary() { | 7929 RawLibrary* Library::UtfLibrary() { |
7926 return Isolate::Current()->object_store()->utf_library(); | 7930 return Isolate::Current()->object_store()->utf_library(); |
7927 } | 7931 } |
7928 | 7932 |
(...skipping 7630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15559 return "_MirrorReference"; | 15563 return "_MirrorReference"; |
15560 } | 15564 } |
15561 | 15565 |
15562 | 15566 |
15563 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 15567 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
15564 JSONObject jsobj(stream); | 15568 JSONObject jsobj(stream); |
15565 } | 15569 } |
15566 | 15570 |
15567 | 15571 |
15568 } // namespace dart | 15572 } // namespace dart |
OLD | NEW |