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 6664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6675 RawLibrary* Library::CollectionLibrary() { | 6675 RawLibrary* Library::CollectionLibrary() { |
6676 return Isolate::Current()->object_store()->collection_library(); | 6676 return Isolate::Current()->object_store()->collection_library(); |
6677 } | 6677 } |
6678 | 6678 |
6679 | 6679 |
6680 RawLibrary* Library::CollectionDevLibrary() { | 6680 RawLibrary* Library::CollectionDevLibrary() { |
6681 return Isolate::Current()->object_store()->collection_dev_library(); | 6681 return Isolate::Current()->object_store()->collection_dev_library(); |
6682 } | 6682 } |
6683 | 6683 |
6684 | 6684 |
6685 RawLibrary* Library::CryptoLibrary() { | |
6686 return Isolate::Current()->object_store()->crypto_library(); | |
6687 } | |
6688 | |
6689 | |
6690 RawLibrary* Library::IsolateLibrary() { | 6685 RawLibrary* Library::IsolateLibrary() { |
6691 return Isolate::Current()->object_store()->isolate_library(); | 6686 return Isolate::Current()->object_store()->isolate_library(); |
6692 } | 6687 } |
6693 | 6688 |
6694 | 6689 |
6695 RawLibrary* Library::JsonLibrary() { | 6690 RawLibrary* Library::JsonLibrary() { |
6696 return Isolate::Current()->object_store()->json_library(); | 6691 return Isolate::Current()->object_store()->json_library(); |
6697 } | 6692 } |
6698 | 6693 |
6699 | 6694 |
(...skipping 6625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13325 } | 13320 } |
13326 return result.raw(); | 13321 return result.raw(); |
13327 } | 13322 } |
13328 | 13323 |
13329 | 13324 |
13330 const char* WeakProperty::ToCString() const { | 13325 const char* WeakProperty::ToCString() const { |
13331 return "_WeakProperty"; | 13326 return "_WeakProperty"; |
13332 } | 13327 } |
13333 | 13328 |
13334 } // namespace dart | 13329 } // namespace dart |
OLD | NEW |