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

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

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 | « no previous file | runtime/vm/object.cc » ('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 #ifndef VM_OBJECT_H_ 5 #ifndef VM_OBJECT_H_
6 #define VM_OBJECT_H_ 6 #define VM_OBJECT_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 void set_is_fields_marked_nullable() const; 1267 void set_is_fields_marked_nullable() const;
1268 1268
1269 bool is_cycle_free() const { 1269 bool is_cycle_free() const {
1270 return CycleFreeBit::decode(raw_ptr()->state_bits_); 1270 return CycleFreeBit::decode(raw_ptr()->state_bits_);
1271 } 1271 }
1272 void set_is_cycle_free() const; 1272 void set_is_cycle_free() const;
1273 1273
1274 bool is_allocated() const { 1274 bool is_allocated() const {
1275 return IsAllocatedBit::decode(raw_ptr()->state_bits_); 1275 return IsAllocatedBit::decode(raw_ptr()->state_bits_);
1276 } 1276 }
1277 void set_is_allocated() const; 1277 void set_is_allocated(bool value) const;
1278 1278
1279 uint16_t num_native_fields() const { 1279 uint16_t num_native_fields() const {
1280 return raw_ptr()->num_native_fields_; 1280 return raw_ptr()->num_native_fields_;
1281 } 1281 }
1282 void set_num_native_fields(uint16_t value) const { 1282 void set_num_native_fields(uint16_t value) const {
1283 StoreNonPointer(&raw_ptr()->num_native_fields_, value); 1283 StoreNonPointer(&raw_ptr()->num_native_fields_, value);
1284 } 1284 }
1285 1285
1286 RawCode* allocation_stub() const { 1286 RawCode* allocation_stub() const {
1287 return raw_ptr()->allocation_stub_; 1287 return raw_ptr()->allocation_stub_;
(...skipping 6922 matching lines...) Expand 10 before | Expand all | Expand 10 after
8210 8210
8211 8211
8212 RawObject* MegamorphicCache::GetTargetFunction(const Array& array, 8212 RawObject* MegamorphicCache::GetTargetFunction(const Array& array,
8213 intptr_t index) { 8213 intptr_t index) {
8214 return array.At((index * kEntryLength) + kTargetFunctionIndex); 8214 return array.At((index * kEntryLength) + kTargetFunctionIndex);
8215 } 8215 }
8216 8216
8217 } // namespace dart 8217 } // namespace dart
8218 8218
8219 #endif // VM_OBJECT_H_ 8219 #endif // VM_OBJECT_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698