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

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

Issue 2603383004: Sane asynchronous debugging and stack traces (Closed)
Patch Set: rebase Created 3 years, 11 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
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/scopes.cc » ('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 RUNTIME_VM_RAW_OBJECT_H_ 5 #ifndef RUNTIME_VM_RAW_OBJECT_H_
6 #define RUNTIME_VM_RAW_OBJECT_H_ 6 #define RUNTIME_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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 NOT_IN_PRECOMPILED(RawInstructions* active_instructions_); 1127 NOT_IN_PRECOMPILED(RawInstructions* active_instructions_);
1128 NOT_IN_PRECOMPILED(RawArray* deopt_info_array_); 1128 NOT_IN_PRECOMPILED(RawArray* deopt_info_array_);
1129 // (code-offset, function, code) triples. 1129 // (code-offset, function, code) triples.
1130 NOT_IN_PRECOMPILED(RawArray* static_calls_target_table_); 1130 NOT_IN_PRECOMPILED(RawArray* static_calls_target_table_);
1131 NOT_IN_PRECOMPILED(RawArray* inlined_metadata_); 1131 NOT_IN_PRECOMPILED(RawArray* inlined_metadata_);
1132 // If return_address_metadata_ is a Smi, it is the offset to the prologue. 1132 // If return_address_metadata_ is a Smi, it is the offset to the prologue.
1133 // Else, return_address_metadata_ is null. 1133 // Else, return_address_metadata_ is null.
1134 NOT_IN_PRECOMPILED(RawObject* return_address_metadata_); 1134 NOT_IN_PRECOMPILED(RawObject* return_address_metadata_);
1135 NOT_IN_PRECOMPILED(RawLocalVarDescriptors* var_descriptors_); 1135 NOT_IN_PRECOMPILED(RawLocalVarDescriptors* var_descriptors_);
1136 NOT_IN_PRECOMPILED(RawCodeSourceMap* code_source_map_); 1136 NOT_IN_PRECOMPILED(RawCodeSourceMap* code_source_map_);
1137 NOT_IN_PRECOMPILED(RawArray* await_token_positions_);
1137 NOT_IN_PRECOMPILED(RawArray* comments_); 1138 NOT_IN_PRECOMPILED(RawArray* comments_);
1138 RawObject** to() { 1139 RawObject** to() {
1139 #if defined(DART_PRECOMPILED_RUNTIME) 1140 #if defined(DART_PRECOMPILED_RUNTIME)
1140 return reinterpret_cast<RawObject**>(&ptr()->stackmaps_); 1141 return reinterpret_cast<RawObject**>(&ptr()->stackmaps_);
1141 #else 1142 #else
1142 return reinterpret_cast<RawObject**>(&ptr()->comments_); 1143 return reinterpret_cast<RawObject**>(&ptr()->comments_);
1143 #endif 1144 #endif
1144 } 1145 }
1145 1146
1146 // Compilation timestamp. 1147 // Compilation timestamp.
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
2424 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2425 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2425 kTypedDataInt8ArrayViewCid + 15); 2426 kTypedDataInt8ArrayViewCid + 15);
2426 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2427 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2427 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2428 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2428 return (kNullCid - kTypedDataInt8ArrayCid); 2429 return (kNullCid - kTypedDataInt8ArrayCid);
2429 } 2430 }
2430 2431
2431 } // namespace dart 2432 } // namespace dart
2432 2433
2433 #endif // RUNTIME_VM_RAW_OBJECT_H_ 2434 #endif // RUNTIME_VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698