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

Unified Diff: runtime/vm/object.h

Issue 2951803005: Set and keep parent function of signature functions. (Closed)
Patch Set: address review comments Created 3 years, 6 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_binary_flowgraph.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 af7a25b15721d68373692dbf668c195847a9eb94..a54e2f7eab87d8669cb930aacd1af1a70b970167 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2856,7 +2856,9 @@ class Function : public Object {
// Allocates a new Function object representing a signature function.
// The owner is the scope class of the function type.
+ // The parent is the enclosing function or null if none.
static RawFunction* NewSignatureFunction(const Object& owner,
+ const Function& parent,
TokenPosition token_pos,
Heap::Space space = Heap::kOld);
« no previous file with comments | « runtime/vm/kernel_binary_flowgraph.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698