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

Unified Diff: runtime/vm/object.cc

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/object.h ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 9420ca918046fb10489fffa2347fd77c37b27fd8..39531c3dbc5cae3807f1d113863f62fa1e8c32bb 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -9098,8 +9098,13 @@ void Script::set_compile_time_constants(const Array& value) const {
}
-void Script::set_kernel_strings(const TypedData& strings) const {
- StorePointer(&raw_ptr()->kernel_strings_, strings.raw());
+void Script::set_kernel_string_offsets(const TypedData& offsets) const {
+ StorePointer(&raw_ptr()->kernel_string_offsets_, offsets.raw());
+}
+
+
+void Script::set_kernel_string_data(const TypedData& data) const {
+ StorePointer(&raw_ptr()->kernel_string_data_, data.raw());
}
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698