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

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

Issue 319493005: - Re-add the assert which was removed in r36993. (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 | « 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 #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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 // Alive: If true, the embedded object pointers will be visited during GC. 838 // Alive: If true, the embedded object pointers will be visited during GC.
839 // This field cannot be shorter because of alignment issues on x64 839 // This field cannot be shorter because of alignment issues on x64
840 // architectures. 840 // architectures.
841 intptr_t state_bits_; // state, is_optimized, is_alive. 841 intptr_t state_bits_; // state, is_optimized, is_alive.
842 842
843 // PC offsets for code patching. 843 // PC offsets for code patching.
844 intptr_t entry_patch_pc_offset_; 844 intptr_t entry_patch_pc_offset_;
845 intptr_t patch_code_pc_offset_; 845 intptr_t patch_code_pc_offset_;
846 intptr_t lazy_deopt_pc_offset_; 846 intptr_t lazy_deopt_pc_offset_;
847 847
848 intptr_t dummy_alignment_;
849
848 // Variable length data follows here. 850 // Variable length data follows here.
849 int32_t data_[0]; 851 int32_t data_[0];
850 852
851 friend class StackFrame; 853 friend class StackFrame;
852 friend class MarkingVisitor; 854 friend class MarkingVisitor;
853 friend class Function; 855 friend class Function;
854 }; 856 };
855 857
856 858
857 class RawInstructions : public RawObject { 859 class RawInstructions : public RawObject {
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1854 COMPILE_ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); 1856 COMPILE_ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14);
1855 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 1857 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
1856 kTypedDataInt8ArrayViewCid + 15); 1858 kTypedDataInt8ArrayViewCid + 15);
1857 COMPILE_ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); 1859 COMPILE_ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14);
1858 return (kNullCid - kTypedDataInt8ArrayCid); 1860 return (kNullCid - kTypedDataInt8ArrayCid);
1859 } 1861 }
1860 1862
1861 } // namespace dart 1863 } // namespace dart
1862 1864
1863 #endif // VM_RAW_OBJECT_H_ 1865 #endif // VM_RAW_OBJECT_H_
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