| 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 2331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2342 void Class::set_is_synthesized_class() const { | 2342 void Class::set_is_synthesized_class() const { |
| 2343 set_state_bits(SynthesizedClassBit::update(true, raw_ptr()->state_bits_)); | 2343 set_state_bits(SynthesizedClassBit::update(true, raw_ptr()->state_bits_)); |
| 2344 } | 2344 } |
| 2345 | 2345 |
| 2346 | 2346 |
| 2347 void Class::set_is_const() const { | 2347 void Class::set_is_const() const { |
| 2348 set_state_bits(ConstBit::update(true, raw_ptr()->state_bits_)); | 2348 set_state_bits(ConstBit::update(true, raw_ptr()->state_bits_)); |
| 2349 } | 2349 } |
| 2350 | 2350 |
| 2351 | 2351 |
| 2352 void Class::set_is_mixin_typedef() const { |
| 2353 set_state_bits(MixinTypedefBit::update(true, raw_ptr()->state_bits_)); |
| 2354 } |
| 2355 |
| 2356 |
| 2352 void Class::set_is_finalized() const { | 2357 void Class::set_is_finalized() const { |
| 2353 ASSERT(!is_finalized()); | 2358 ASSERT(!is_finalized()); |
| 2354 set_state_bits(StateBits::update(RawClass::kFinalized, | 2359 set_state_bits(StateBits::update(RawClass::kFinalized, |
| 2355 raw_ptr()->state_bits_)); | 2360 raw_ptr()->state_bits_)); |
| 2356 } | 2361 } |
| 2357 | 2362 |
| 2358 | 2363 |
| 2359 void Class::set_is_prefinalized() const { | 2364 void Class::set_is_prefinalized() const { |
| 2360 ASSERT(!is_finalized()); | 2365 ASSERT(!is_finalized()); |
| 2361 set_state_bits(StateBits::update(RawClass::kPreFinalized, | 2366 set_state_bits(StateBits::update(RawClass::kPreFinalized, |
| (...skipping 12506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14868 } | 14873 } |
| 14869 | 14874 |
| 14870 | 14875 |
| 14871 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 14876 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
| 14872 stream->OpenObject(); | 14877 stream->OpenObject(); |
| 14873 stream->CloseObject(); | 14878 stream->CloseObject(); |
| 14874 } | 14879 } |
| 14875 | 14880 |
| 14876 | 14881 |
| 14877 } // namespace dart | 14882 } // namespace dart |
| OLD | NEW |