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

Unified Diff: runtime/vm/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/method_recognizer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 61a8051b8ebcba5e3b76764371117ce469bb924f..dbf3e6efa09d70670acdee718a7202003aef5164 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4694,6 +4694,16 @@ class Code : public Object {
StorePointer(&raw_ptr()->pc_descriptors_, descriptors.raw());
}
+ RawArray* await_token_positions() const {
+#if defined(DART_PRECOMPILED_RUNTIME)
+ return CodeSourceMap::null();
+#else
+ return raw_ptr()->await_token_positions_;
+#endif
+ }
+
+ void SetAwaitTokenPositions(const Array& await_token_positions) const;
+
RawCodeSourceMap* code_source_map() const {
#if defined(DART_PRECOMPILED_RUNTIME)
return CodeSourceMap::null();
@@ -8435,9 +8445,11 @@ class StackTrace : public Instance {
RawFunction* FunctionAtFrame(intptr_t frame_index) const;
+ RawArray* code_array() const { return raw_ptr()->code_array_; }
RawCode* CodeAtFrame(intptr_t frame_index) const;
void SetCodeAtFrame(intptr_t frame_index, const Code& code) const;
+ RawArray* pc_offset_array() const { return raw_ptr()->pc_offset_array_; }
RawSmi* PcOffsetAtFrame(intptr_t frame_index) const;
void SetPcOffsetAtFrame(intptr_t frame_index, const Smi& pc_offset) const;
void set_expand_inlined(bool value) const;
« no previous file with comments | « runtime/vm/method_recognizer.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698