| 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 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2297 void Class::set_is_synthesized_class() const { | 2297 void Class::set_is_synthesized_class() const { |
| 2298 set_state_bits(SynthesizedClassBit::update(true, raw_ptr()->state_bits_)); | 2298 set_state_bits(SynthesizedClassBit::update(true, raw_ptr()->state_bits_)); |
| 2299 } | 2299 } |
| 2300 | 2300 |
| 2301 | 2301 |
| 2302 void Class::set_is_const() const { | 2302 void Class::set_is_const() const { |
| 2303 set_state_bits(ConstBit::update(true, raw_ptr()->state_bits_)); | 2303 set_state_bits(ConstBit::update(true, raw_ptr()->state_bits_)); |
| 2304 } | 2304 } |
| 2305 | 2305 |
| 2306 | 2306 |
| 2307 void Class::set_is_mixin_typedef() const { |
| 2308 set_state_bits(MixinTypedefBit::update(true, raw_ptr()->state_bits_)); |
| 2309 } |
| 2310 |
| 2311 |
| 2307 void Class::set_is_finalized() const { | 2312 void Class::set_is_finalized() const { |
| 2308 ASSERT(!is_finalized()); | 2313 ASSERT(!is_finalized()); |
| 2309 set_state_bits(StateBits::update(RawClass::kFinalized, | 2314 set_state_bits(StateBits::update(RawClass::kFinalized, |
| 2310 raw_ptr()->state_bits_)); | 2315 raw_ptr()->state_bits_)); |
| 2311 } | 2316 } |
| 2312 | 2317 |
| 2313 | 2318 |
| 2314 void Class::set_is_prefinalized() const { | 2319 void Class::set_is_prefinalized() const { |
| 2315 ASSERT(!is_finalized()); | 2320 ASSERT(!is_finalized()); |
| 2316 set_state_bits(StateBits::update(RawClass::kPreFinalized, | 2321 set_state_bits(StateBits::update(RawClass::kPreFinalized, |
| (...skipping 12457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14774 } | 14779 } |
| 14775 | 14780 |
| 14776 | 14781 |
| 14777 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 14782 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 14778 stream->OpenObject(); | 14783 stream->OpenObject(); |
| 14779 stream->CloseObject(); | 14784 stream->CloseObject(); |
| 14780 } | 14785 } |
| 14781 | 14786 |
| 14782 | 14787 |
| 14783 } // namespace dart | 14788 } // namespace dart |
| OLD | NEW |