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

Unified Diff: runtime/vm/object.cc

Issue 2853423002: Move the Kernel canonical name table into the VM's heap (Closed)
Patch Set: Merge a bugfix 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
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 39531c3dbc5cae3807f1d113863f62fa1e8c32bb..e00640e3ab021ababcfcce05b187fa01b2f23252 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -9108,6 +9108,11 @@ void Script::set_kernel_string_data(const TypedData& data) const {
}
+void Script::set_kernel_canonical_names(const TypedData& names) const {
+ StorePointer(&raw_ptr()->kernel_canonical_names_, names.raw());
+}
+
+
RawGrowableObjectArray* Script::GenerateLineNumberArray() const {
Zone* zone = Thread::Current()->zone();
const GrowableObjectArray& info =
« runtime/vm/kernel_reader.cc ('K') | « 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