| 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 3457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3468 set_state_bits(FieldsMarkedNullableBit::update(true, raw_ptr()->state_bits_)); | 3468 set_state_bits(FieldsMarkedNullableBit::update(true, raw_ptr()->state_bits_)); |
| 3469 } | 3469 } |
| 3470 | 3470 |
| 3471 | 3471 |
| 3472 void Class::set_is_cycle_free() const { | 3472 void Class::set_is_cycle_free() const { |
| 3473 ASSERT(!is_cycle_free()); | 3473 ASSERT(!is_cycle_free()); |
| 3474 set_state_bits(CycleFreeBit::update(true, raw_ptr()->state_bits_)); | 3474 set_state_bits(CycleFreeBit::update(true, raw_ptr()->state_bits_)); |
| 3475 } | 3475 } |
| 3476 | 3476 |
| 3477 | 3477 |
| 3478 void Class::set_is_allocated() const { |
| 3479 set_state_bits(IsAllocatedBit::update(true, raw_ptr()->state_bits_)); |
| 3480 } |
| 3481 |
| 3482 |
| 3478 void Class::set_is_finalized() const { | 3483 void Class::set_is_finalized() const { |
| 3479 ASSERT(!is_finalized()); | 3484 ASSERT(!is_finalized()); |
| 3480 set_state_bits(ClassFinalizedBits::update(RawClass::kFinalized, | 3485 set_state_bits(ClassFinalizedBits::update(RawClass::kFinalized, |
| 3481 raw_ptr()->state_bits_)); | 3486 raw_ptr()->state_bits_)); |
| 3482 } | 3487 } |
| 3483 | 3488 |
| 3484 | 3489 |
| 3485 void Class::set_is_prefinalized() const { | 3490 void Class::set_is_prefinalized() const { |
| 3486 ASSERT(!is_finalized()); | 3491 ASSERT(!is_finalized()); |
| 3487 set_state_bits(ClassFinalizedBits::update(RawClass::kPreFinalized, | 3492 set_state_bits(ClassFinalizedBits::update(RawClass::kPreFinalized, |
| (...skipping 17838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21326 return tag_label.ToCString(); | 21331 return tag_label.ToCString(); |
| 21327 } | 21332 } |
| 21328 | 21333 |
| 21329 | 21334 |
| 21330 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 21335 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
| 21331 Instance::PrintJSONImpl(stream, ref); | 21336 Instance::PrintJSONImpl(stream, ref); |
| 21332 } | 21337 } |
| 21333 | 21338 |
| 21334 | 21339 |
| 21335 } // namespace dart | 21340 } // namespace dart |
| OLD | NEW |