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

Unified Diff: runtime/vm/object.h

Issue 2632183002: Debugging in kernel shaping up. (Closed)
Patch Set: Changed to TokenPosition::kMaxSourcePos 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/kernel_to_il.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 d010ec3da83870ae510fda664ada45e6fbac09b3..f62859b23a36944cbf3c2fc5a3906e4aefb7990a 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3557,6 +3557,12 @@ class Script : public Object {
void set_line_starts(const Array& value) const;
+ void set_debug_positions(const Array& value) const;
+
+ void set_yield_positions(const Array& value) const;
+
+ RawArray* yield_positions() const { return raw_ptr()->yield_positions_; }
+
void Tokenize(const String& private_key, bool use_shared_tokens = true) const;
RawLibrary* FindLibrary() const;
@@ -3607,6 +3613,7 @@ class Script : public Object {
void set_load_timestamp(int64_t value) const;
void set_tokens(const TokenStream& value) const;
RawArray* line_starts() const { return raw_ptr()->line_starts_; }
+ RawArray* debug_positions() const { return raw_ptr()->debug_positions_; }
static RawScript* New();
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698