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

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

Issue 817823002: Add inlining ranges/intervals to code objects so that we can map a pc to the inlined stack. The map… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/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/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 // If owner_ is a Class the owner is the allocation stub for that class. 922 // If owner_ is a Class the owner is the allocation stub for that class.
923 // Else, owner_ is a regular Dart Function. 923 // Else, owner_ is a regular Dart Function.
924 RawObject* owner_; // Function, Null, or a Class. 924 RawObject* owner_; // Function, Null, or a Class.
925 RawExceptionHandlers* exception_handlers_; 925 RawExceptionHandlers* exception_handlers_;
926 RawPcDescriptors* pc_descriptors_; 926 RawPcDescriptors* pc_descriptors_;
927 RawArray* deopt_info_array_; 927 RawArray* deopt_info_array_;
928 RawArray* object_table_; 928 RawArray* object_table_;
929 RawArray* static_calls_target_table_; // (code-offset, function, code). 929 RawArray* static_calls_target_table_; // (code-offset, function, code).
930 RawArray* stackmaps_; 930 RawArray* stackmaps_;
931 RawLocalVarDescriptors* var_descriptors_; 931 RawLocalVarDescriptors* var_descriptors_;
932 RawArray* inlined_intervals_;
932 RawArray* comments_; 933 RawArray* comments_;
933 RawObject** to() { 934 RawObject** to() {
934 return reinterpret_cast<RawObject**>(&ptr()->comments_); 935 return reinterpret_cast<RawObject**>(&ptr()->comments_);
935 } 936 }
936 937
937 // Compilation timestamp. 938 // Compilation timestamp.
938 int64_t compile_timestamp_; 939 int64_t compile_timestamp_;
939 940
940 // state_bits_ is a bitfield with three fields: 941 // state_bits_ is a bitfield with three fields:
941 // The optimized bit, the alive bit, and a count of the number of pointer 942 // The optimized bit, the alive bit, and a count of the number of pointer
(...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2135 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2135 kTypedDataInt8ArrayViewCid + 15); 2136 kTypedDataInt8ArrayViewCid + 15);
2136 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2137 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2137 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2138 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2138 return (kNullCid - kTypedDataInt8ArrayCid); 2139 return (kNullCid - kTypedDataInt8ArrayCid);
2139 } 2140 }
2140 2141
2141 } // namespace dart 2142 } // namespace dart
2142 2143
2143 #endif // VM_RAW_OBJECT_H_ 2144 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698