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

Unified Diff: runtime/vm/object.h

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.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index bbba1cd1e873aa584c6fb87be2fc7679f1b0a284..603467775b9072d2a688818e3bf1ac6d66e6ecaa 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3601,6 +3601,11 @@ class Script : public Object {
}
void set_kernel_string_data(const TypedData& data) const;
+ RawTypedData* kernel_canonical_names() const {
+ return raw_ptr()->kernel_canonical_names_;
+ }
+ void set_kernel_canonical_names(const TypedData& names) const;
+
RawTokenStream* tokens() const {
ASSERT(kind() != RawScript::kKernelTag);
return raw_ptr()->tokens_;

Powered by Google App Engine
This is Rietveld 408576698