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

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

Issue 330163002: Updates snapshot test for last commit. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | « no previous file | tests/standalone/issue14236_test.dart » ('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_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/token.h" 10 #include "vm/token.h"
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 RawObject* canonical_types_; // An array of canonicalized types of this class 499 RawObject* canonical_types_; // An array of canonicalized types of this class
500 // or the canonical type. 500 // or the canonical type.
501 RawArray* invocation_dispatcher_cache_; // Cache for dispatcher functions. 501 RawArray* invocation_dispatcher_cache_; // Cache for dispatcher functions.
502 RawArray* cha_codes_; // CHA optimized codes. 502 RawArray* cha_codes_; // CHA optimized codes.
503 RawCode* allocation_stub_; // Stub code for allocation of instances. 503 RawCode* allocation_stub_; // Stub code for allocation of instances.
504 RawObject** to() { 504 RawObject** to() {
505 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_); 505 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_);
506 } 506 }
507 507
508 cpp_vtable handle_vtable_; 508 cpp_vtable handle_vtable_;
509 intptr_t id_; // Class Id, also index in the class table. 509 int32_t id_; // Class Id, also index in the class table.
510 int32_t token_pos_; 510 int32_t token_pos_;
511 int32_t instance_size_in_words_; // Size if fixed len or 0 if variable len. 511 int32_t instance_size_in_words_; // Size if fixed len or 0 if variable len.
512 int32_t type_arguments_field_offset_in_words_; // Offset of type args fld. 512 int32_t type_arguments_field_offset_in_words_; // Offset of type args fld.
513 int32_t next_field_offset_in_words_; // Offset of the next instance field. 513 int32_t next_field_offset_in_words_; // Offset of the next instance field.
514 int16_t num_type_arguments_; // Number of type arguments in flatten vector. 514 int16_t num_type_arguments_; // Number of type arguments in flatten vector.
515 int16_t num_own_type_arguments_; // Number of non-overlapping type arguments. 515 int16_t num_own_type_arguments_; // Number of non-overlapping type arguments.
516 uint16_t num_native_fields_; // Number of native fields in class. 516 uint16_t num_native_fields_; // Number of native fields in class.
517 uint16_t state_bits_; 517 uint16_t state_bits_;
518 518
519 friend class Instance; 519 friend class Instance;
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 COMPILE_ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); 1859 COMPILE_ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14);
1860 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 1860 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
1861 kTypedDataInt8ArrayViewCid + 15); 1861 kTypedDataInt8ArrayViewCid + 15);
1862 COMPILE_ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); 1862 COMPILE_ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14);
1863 return (kNullCid - kTypedDataInt8ArrayCid); 1863 return (kNullCid - kTypedDataInt8ArrayCid);
1864 } 1864 }
1865 1865
1866 } // namespace dart 1866 } // namespace dart
1867 1867
1868 #endif // VM_RAW_OBJECT_H_ 1868 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/issue14236_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698