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 8382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8393 RawLibrary* Library::CoreLibrary() { | 8393 RawLibrary* Library::CoreLibrary() { |
8394 return Isolate::Current()->object_store()->core_library(); | 8394 return Isolate::Current()->object_store()->core_library(); |
8395 } | 8395 } |
8396 | 8396 |
8397 | 8397 |
8398 RawLibrary* Library::CollectionLibrary() { | 8398 RawLibrary* Library::CollectionLibrary() { |
8399 return Isolate::Current()->object_store()->collection_library(); | 8399 return Isolate::Current()->object_store()->collection_library(); |
8400 } | 8400 } |
8401 | 8401 |
8402 | 8402 |
8403 RawLibrary* Library::CollectionDevLibrary() { | 8403 RawLibrary* Library::InternalLibrary() { |
8404 return Isolate::Current()->object_store()->collection_dev_library(); | 8404 return Isolate::Current()->object_store()->internal_library(); |
8405 } | 8405 } |
8406 | 8406 |
8407 | 8407 |
8408 RawLibrary* Library::IsolateLibrary() { | 8408 RawLibrary* Library::IsolateLibrary() { |
8409 return Isolate::Current()->object_store()->isolate_library(); | 8409 return Isolate::Current()->object_store()->isolate_library(); |
8410 } | 8410 } |
8411 | 8411 |
8412 | 8412 |
8413 RawLibrary* Library::MathLibrary() { | 8413 RawLibrary* Library::MathLibrary() { |
8414 return Isolate::Current()->object_store()->math_library(); | 8414 return Isolate::Current()->object_store()->math_library(); |
(...skipping 8560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16975 return "_MirrorReference"; | 16975 return "_MirrorReference"; |
16976 } | 16976 } |
16977 | 16977 |
16978 | 16978 |
16979 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 16979 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
16980 Instance::PrintToJSONStream(stream, ref); | 16980 Instance::PrintToJSONStream(stream, ref); |
16981 } | 16981 } |
16982 | 16982 |
16983 | 16983 |
16984 } // namespace dart | 16984 } // namespace dart |
OLD | NEW |