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

Unified Diff: runtime/vm/object.h

Issue 2931773005: [kernel] Delete most of the AST (Closed)
Patch Set: Review Created 3 years, 6 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 b291efba17b53e9acabd14e2ed8d8f0a013f879d..5813f346d55a385d4b8b9f8ec3b2e254604b4a6d 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3618,6 +3618,9 @@ class Script : public Object {
intptr_t kernel_data_size() { return raw_ptr()->kernel_data_size_; }
void set_kernel_data_size(const intptr_t kernel_data_size) const;
+ intptr_t kernel_script_index() { return raw_ptr()->kernel_script_index_; }
+ void set_kernel_script_index(const intptr_t kernel_script_index) const;
+
RawTypedData* kernel_string_offsets() const {
return raw_ptr()->kernel_string_offsets_;
}
@@ -3644,7 +3647,7 @@ class Script : public Object {
void set_yield_positions(const Array& value) const;
- RawArray* yield_positions() const { return raw_ptr()->yield_positions_; }
+ RawArray* yield_positions() const;
void Tokenize(const String& private_key, bool use_shared_tokens = true) const;
@@ -3696,8 +3699,8 @@ class Script : public Object {
void set_kind(RawScript::Kind value) const;
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_; }
+ RawArray* line_starts() const;
+ RawArray* debug_positions() const;
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