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

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

Issue 194813008: Add compile timestamp to Code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 RawArray* deopt_info_array_; 827 RawArray* deopt_info_array_;
828 RawArray* object_table_; 828 RawArray* object_table_;
829 RawArray* static_calls_target_table_; // (code-offset, function, code). 829 RawArray* static_calls_target_table_; // (code-offset, function, code).
830 RawArray* stackmaps_; 830 RawArray* stackmaps_;
831 RawLocalVarDescriptors* var_descriptors_; 831 RawLocalVarDescriptors* var_descriptors_;
832 RawArray* comments_; 832 RawArray* comments_;
833 RawObject** to() { 833 RawObject** to() {
834 return reinterpret_cast<RawObject**>(&ptr()->comments_); 834 return reinterpret_cast<RawObject**>(&ptr()->comments_);
835 } 835 }
836 836
837 // Compilation timestamp.
838 int64_t compile_timestamp_;
837 intptr_t pointer_offsets_length_; 839 intptr_t pointer_offsets_length_;
838 // Alive: If true, the embedded object pointers will be visited during GC. 840 // Alive: If true, the embedded object pointers will be visited during GC.
839 // This field cannot be shorter because of alignment issues on x64 841 // This field cannot be shorter because of alignment issues on x64
840 // architectures. 842 // architectures.
841 intptr_t state_bits_; // state, is_optimized, is_alive. 843 intptr_t state_bits_; // state, is_optimized, is_alive.
842 844
843 // Variable length data follows here. 845 // Variable length data follows here.
844 int32_t data_[0]; 846 int32_t data_[0];
845 847
846 friend class StackFrame; 848 friend class StackFrame;
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 // Make sure this is updated when new TypedData types are added. 1777 // Make sure this is updated when new TypedData types are added.
1776 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14); 1778 ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 14);
1777 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15); 1779 ASSERT(kExternalTypedDataInt8ArrayCid == kTypedDataInt8ArrayViewCid + 15);
1778 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14); 1780 ASSERT(kNullCid == kExternalTypedDataInt8ArrayCid + 14);
1779 return (kNullCid - kTypedDataInt8ArrayCid); 1781 return (kNullCid - kTypedDataInt8ArrayCid);
1780 } 1782 }
1781 1783
1782 } // namespace dart 1784 } // namespace dart
1783 1785
1784 #endif // VM_RAW_OBJECT_H_ 1786 #endif // VM_RAW_OBJECT_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698