| 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 11669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11680 | 11680 |
| 11681 | 11681 |
| 11682 void ICData::SetOriginal(const ICData& value) const { | 11682 void ICData::SetOriginal(const ICData& value) const { |
| 11683 ASSERT(value.IsOriginal()); | 11683 ASSERT(value.IsOriginal()); |
| 11684 ASSERT(!value.IsNull()); | 11684 ASSERT(!value.IsNull()); |
| 11685 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw())); | 11685 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw())); |
| 11686 } | 11686 } |
| 11687 | 11687 |
| 11688 | 11688 |
| 11689 void ICData::set_owner(const Function& value) const { | 11689 void ICData::set_owner(const Function& value) const { |
| 11690 ASSERT(!value.IsNull()); | |
| 11691 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw())); | 11690 StorePointer(&raw_ptr()->owner_, reinterpret_cast<RawObject*>(value.raw())); |
| 11692 } | 11691 } |
| 11693 | 11692 |
| 11694 | 11693 |
| 11695 void ICData::set_target_name(const String& value) const { | 11694 void ICData::set_target_name(const String& value) const { |
| 11696 ASSERT(!value.IsNull()); | 11695 ASSERT(!value.IsNull()); |
| 11697 StorePointer(&raw_ptr()->target_name_, value.raw()); | 11696 StorePointer(&raw_ptr()->target_name_, value.raw()); |
| 11698 } | 11697 } |
| 11699 | 11698 |
| 11700 | 11699 |
| (...skipping 9728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21429 return UserTag::null(); | 21428 return UserTag::null(); |
| 21430 } | 21429 } |
| 21431 | 21430 |
| 21432 | 21431 |
| 21433 const char* UserTag::ToCString() const { | 21432 const char* UserTag::ToCString() const { |
| 21434 const String& tag_label = String::Handle(label()); | 21433 const String& tag_label = String::Handle(label()); |
| 21435 return tag_label.ToCString(); | 21434 return tag_label.ToCString(); |
| 21436 } | 21435 } |
| 21437 | 21436 |
| 21438 } // namespace dart | 21437 } // namespace dart |
| OLD | NEW |