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

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

Issue 11411271: Remove support for interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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/parser.cc ('k') | runtime/vm/token.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 #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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_); 431 return reinterpret_cast<RawObject**>(&ptr()->allocation_stub_);
432 } 432 }
433 433
434 cpp_vtable handle_vtable_; 434 cpp_vtable handle_vtable_;
435 intptr_t instance_size_in_words_; // Size if fixed len or 0 if variable len. 435 intptr_t instance_size_in_words_; // Size if fixed len or 0 if variable len.
436 intptr_t id_; // Class Id, also index in the class table. 436 intptr_t id_; // Class Id, also index in the class table.
437 intptr_t type_arguments_field_offset_in_words_; // Offset of type args fld. 437 intptr_t type_arguments_field_offset_in_words_; // Offset of type args fld.
438 intptr_t next_field_offset_in_words_; // Offset of the next instance field. 438 intptr_t next_field_offset_in_words_; // Offset of the next instance field.
439 intptr_t num_native_fields_; // Number of native fields in class. 439 intptr_t num_native_fields_; // Number of native fields in class.
440 intptr_t token_pos_; 440 intptr_t token_pos_;
441 uint8_t state_bits_; // state, is_const, is_interface, is_implemented. 441 uint8_t state_bits_; // state, is_const, is_implemented.
442 442
443 friend class Instance; 443 friend class Instance;
444 friend class Object; 444 friend class Object;
445 friend class RawInstance; 445 friend class RawInstance;
446 friend class RawInstructions; 446 friend class RawInstructions;
447 friend class SnapshotReader; 447 friend class SnapshotReader;
448 }; 448 };
449 449
450 450
451 class RawUnresolvedClass : public RawObject { 451 class RawUnresolvedClass : public RawObject {
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 kExternalUint64ArrayCid == kExternalInt8ArrayCid + 7 && 1635 kExternalUint64ArrayCid == kExternalInt8ArrayCid + 7 &&
1636 kExternalFloat32ArrayCid == kExternalInt8ArrayCid + 8 && 1636 kExternalFloat32ArrayCid == kExternalInt8ArrayCid + 8 &&
1637 kExternalFloat64ArrayCid == kExternalInt8ArrayCid + 9 && 1637 kExternalFloat64ArrayCid == kExternalInt8ArrayCid + 9 &&
1638 kStacktraceCid == kExternalInt8ArrayCid + 10); 1638 kStacktraceCid == kExternalInt8ArrayCid + 10);
1639 return (index >= kExternalInt8ArrayCid && index <= kExternalFloat64ArrayCid); 1639 return (index >= kExternalInt8ArrayCid && index <= kExternalFloat64ArrayCid);
1640 } 1640 }
1641 1641
1642 } // namespace dart 1642 } // namespace dart
1643 1643
1644 #endif // VM_RAW_OBJECT_H_ 1644 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698