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

Unified Diff: runtime/vm/object.h

Issue 2852943003: Move the Kernel string offsets into the VM's heap. (Closed)
Patch Set: Incorporate review comments. Created 3 years, 8 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 2848def5f35063bbef767780e8f779927f5c1dac..bbba1cd1e873aa584c6fb87be2fc7679f1b0a284 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3591,8 +3591,15 @@ class Script : public Object {
}
void set_compile_time_constants(const Array& value) const;
- RawTypedData* kernel_strings() const { return raw_ptr()->kernel_strings_; }
- void set_kernel_strings(const TypedData& strings) const;
+ RawTypedData* kernel_string_offsets() const {
+ return raw_ptr()->kernel_string_offsets_;
+ }
+ void set_kernel_string_offsets(const TypedData& offsets) const;
+
+ RawTypedData* kernel_string_data() const {
+ return raw_ptr()->kernel_string_data_;
+ }
+ void set_kernel_string_data(const TypedData& data) const;
RawTokenStream* tokens() const {
ASSERT(kind() != RawScript::kKernelTag);
« 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