| 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 3643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3654 set_state_bits(FieldsMarkedNullableBit::update(true, raw_ptr()->state_bits_)); | 3654 set_state_bits(FieldsMarkedNullableBit::update(true, raw_ptr()->state_bits_)); |
| 3655 } | 3655 } |
| 3656 | 3656 |
| 3657 | 3657 |
| 3658 void Class::set_is_cycle_free() const { | 3658 void Class::set_is_cycle_free() const { |
| 3659 ASSERT(!is_cycle_free()); | 3659 ASSERT(!is_cycle_free()); |
| 3660 set_state_bits(CycleFreeBit::update(true, raw_ptr()->state_bits_)); | 3660 set_state_bits(CycleFreeBit::update(true, raw_ptr()->state_bits_)); |
| 3661 } | 3661 } |
| 3662 | 3662 |
| 3663 | 3663 |
| 3664 void Class::set_is_allocated() const { | 3664 void Class::set_is_allocated(bool value) const { |
| 3665 set_state_bits(IsAllocatedBit::update(true, raw_ptr()->state_bits_)); | 3665 set_state_bits(IsAllocatedBit::update(value, raw_ptr()->state_bits_)); |
| 3666 } | 3666 } |
| 3667 | 3667 |
| 3668 | 3668 |
| 3669 void Class::set_is_finalized() const { | 3669 void Class::set_is_finalized() const { |
| 3670 ASSERT(!is_finalized()); | 3670 ASSERT(!is_finalized()); |
| 3671 set_state_bits(ClassFinalizedBits::update(RawClass::kFinalized, | 3671 set_state_bits(ClassFinalizedBits::update(RawClass::kFinalized, |
| 3672 raw_ptr()->state_bits_)); | 3672 raw_ptr()->state_bits_)); |
| 3673 } | 3673 } |
| 3674 | 3674 |
| 3675 | 3675 |
| (...skipping 18241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21917 return tag_label.ToCString(); | 21917 return tag_label.ToCString(); |
| 21918 } | 21918 } |
| 21919 | 21919 |
| 21920 | 21920 |
| 21921 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 21921 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 21922 Instance::PrintJSONImpl(stream, ref); | 21922 Instance::PrintJSONImpl(stream, ref); |
| 21923 } | 21923 } |
| 21924 | 21924 |
| 21925 | 21925 |
| 21926 } // namespace dart | 21926 } // namespace dart |
| OLD | NEW |