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

Unified Diff: runtime/vm/object.h

Issue 1412633007: Save the native name on the function instead of finding it in the token stream for lazily-linked na… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 5b2beafd917a68348092b40a863985287600f6f3..8ed036b5d9d6546b6b322b0141780a599ab868d3 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2148,6 +2148,9 @@ class Function : public Object {
void SetRegExpData(const JSRegExp& regexp,
intptr_t string_specialization_cid) const;
+ RawString* native_name() const;
+ void set_native_name(const String& name) const;
+
RawAbstractType* result_type() const { return raw_ptr()->result_type_; }
void set_result_type(const AbstractType& value) const;

Powered by Google App Engine
This is Rietveld 408576698