| 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 10352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10363 | 10363 |
| 10364 RawLibrary* Library::NativeWrappersLibrary() { | 10364 RawLibrary* Library::NativeWrappersLibrary() { |
| 10365 return Isolate::Current()->object_store()->native_wrappers_library(); | 10365 return Isolate::Current()->object_store()->native_wrappers_library(); |
| 10366 } | 10366 } |
| 10367 | 10367 |
| 10368 | 10368 |
| 10369 RawLibrary* Library::TypedDataLibrary() { | 10369 RawLibrary* Library::TypedDataLibrary() { |
| 10370 return Isolate::Current()->object_store()->typed_data_library(); | 10370 return Isolate::Current()->object_store()->typed_data_library(); |
| 10371 } | 10371 } |
| 10372 | 10372 |
| 10373 RawLibrary* Library::UriLibrary() { |
| 10374 return Isolate::Current()->object_store()->uri_library(); |
| 10375 } |
| 10373 | 10376 |
| 10374 RawLibrary* Library::VMServiceLibrary() { | 10377 RawLibrary* Library::VMServiceLibrary() { |
| 10375 return Isolate::Current()->object_store()->vmservice_library(); | 10378 return Isolate::Current()->object_store()->vmservice_library(); |
| 10376 } | 10379 } |
| 10377 | 10380 |
| 10378 | 10381 |
| 10379 const char* Library::ToCString() const { | 10382 const char* Library::ToCString() const { |
| 10380 const String& name = String::Handle(url()); | 10383 const String& name = String::Handle(url()); |
| 10381 return OS::SCreate(Thread::Current()->zone(), | 10384 return OS::SCreate(Thread::Current()->zone(), |
| 10382 "Library:'%s'", name.ToCString()); | 10385 "Library:'%s'", name.ToCString()); |
| (...skipping 11373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21756 return tag_label.ToCString(); | 21759 return tag_label.ToCString(); |
| 21757 } | 21760 } |
| 21758 | 21761 |
| 21759 | 21762 |
| 21760 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 21763 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 21761 Instance::PrintJSONImpl(stream, ref); | 21764 Instance::PrintJSONImpl(stream, ref); |
| 21762 } | 21765 } |
| 21763 | 21766 |
| 21764 | 21767 |
| 21765 } // namespace dart | 21768 } // namespace dart |
| OLD | NEW |