Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: runtime/vm/object.cc

Issue 153103004: Add a UpdatedGuardedCidBit to Class object so that we don't have (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2945 matching lines...) Expand 10 before | Expand all | Expand 10 after
2956 void Class::set_is_mixin_app_alias() const { 2956 void Class::set_is_mixin_app_alias() const {
2957 set_state_bits(MixinAppAliasBit::update(true, raw_ptr()->state_bits_)); 2957 set_state_bits(MixinAppAliasBit::update(true, raw_ptr()->state_bits_));
2958 } 2958 }
2959 2959
2960 2960
2961 void Class::set_is_mixin_type_applied() const { 2961 void Class::set_is_mixin_type_applied() const {
2962 set_state_bits(MixinTypeAppliedBit::update(true, raw_ptr()->state_bits_)); 2962 set_state_bits(MixinTypeAppliedBit::update(true, raw_ptr()->state_bits_));
2963 } 2963 }
2964 2964
2965 2965
2966 void Class::set_is_fields_marked_nullable() const {
2967 set_state_bits(FieldsMarkedNullableBit::update(true, raw_ptr()->state_bits_));
2968 }
2969
2970
2966 void Class::set_is_finalized() const { 2971 void Class::set_is_finalized() const {
2967 ASSERT(!is_finalized()); 2972 ASSERT(!is_finalized());
2968 set_state_bits(ClassFinalizedBits::update(RawClass::kFinalized, 2973 set_state_bits(ClassFinalizedBits::update(RawClass::kFinalized,
2969 raw_ptr()->state_bits_)); 2974 raw_ptr()->state_bits_));
2970 } 2975 }
2971 2976
2972 2977
2973 void Class::set_is_prefinalized() const { 2978 void Class::set_is_prefinalized() const {
2974 ASSERT(!is_finalized()); 2979 ASSERT(!is_finalized());
2975 set_state_bits(ClassFinalizedBits::update(RawClass::kPreFinalized, 2980 set_state_bits(ClassFinalizedBits::update(RawClass::kPreFinalized,
(...skipping 14244 matching lines...) Expand 10 before | Expand all | Expand 10 after
17220 return "_MirrorReference"; 17225 return "_MirrorReference";
17221 } 17226 }
17222 17227
17223 17228
17224 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { 17229 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const {
17225 Instance::PrintToJSONStream(stream, ref); 17230 Instance::PrintToJSONStream(stream, ref);
17226 } 17231 }
17227 17232
17228 17233
17229 } // namespace dart 17234 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698