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

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

Issue 1420533006: Allow for multiple rounds of precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: land with one round Created 5 years, 1 month 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
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/precompiler.h » ('j') | 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 3643 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/precompiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698