| 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 16449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16460 } | 16460 } |
| 16461 | 16461 |
| 16462 | 16462 |
| 16463 void TypedData::PrintToJSONStream(JSONStream* stream, bool ref) const { | 16463 void TypedData::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 16464 Instance::PrintToJSONStream(stream, ref); | 16464 Instance::PrintToJSONStream(stream, ref); |
| 16465 } | 16465 } |
| 16466 | 16466 |
| 16467 | 16467 |
| 16468 FinalizablePersistentHandle* ExternalTypedData::AddFinalizer( | 16468 FinalizablePersistentHandle* ExternalTypedData::AddFinalizer( |
| 16469 void* peer, Dart_WeakPersistentHandleFinalizer callback) const { | 16469 void* peer, Dart_WeakPersistentHandleFinalizer callback) const { |
| 16470 SetPeer(peer); | |
| 16471 return dart::AddFinalizer(*this, peer, callback); | 16470 return dart::AddFinalizer(*this, peer, callback); |
| 16472 } | 16471 } |
| 16473 | 16472 |
| 16474 | 16473 |
| 16475 RawExternalTypedData* ExternalTypedData::New(intptr_t class_id, | 16474 RawExternalTypedData* ExternalTypedData::New(intptr_t class_id, |
| 16476 uint8_t* data, | 16475 uint8_t* data, |
| 16477 intptr_t len, | 16476 intptr_t len, |
| 16478 Heap::Space space) { | 16477 Heap::Space space) { |
| 16479 ExternalTypedData& result = ExternalTypedData::Handle(); | 16478 ExternalTypedData& result = ExternalTypedData::Handle(); |
| 16480 { | 16479 { |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16974 return "_MirrorReference"; | 16973 return "_MirrorReference"; |
| 16975 } | 16974 } |
| 16976 | 16975 |
| 16977 | 16976 |
| 16978 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 16977 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 16979 Instance::PrintToJSONStream(stream, ref); | 16978 Instance::PrintToJSONStream(stream, ref); |
| 16980 } | 16979 } |
| 16981 | 16980 |
| 16982 | 16981 |
| 16983 } // namespace dart | 16982 } // namespace dart |
| OLD | NEW |