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

Unified Diff: runtime/vm/isolate.h

Issue 1436243005: Collect closure functions in isolate (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
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 5f721a3cf5de9fc0655976ed3c53d083facda334..3906e77dabaa68f6efa07e161b643713d7f718ee 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -665,6 +665,12 @@ class Isolate : public BaseIsolate {
// Handle service messages until we are told to resume execution.
void PauseEventHandler();
+ void AddClosureFunction(const Function& function) const;
+ RawFunction* LookupClosureFunction(const Function& parent,
+ intptr_t token_pos) const;
+ intptr_t FindClosureIndex(const Function& needle) const;
+ RawFunction* ClosureFunctionFromIndex(intptr_t idx) const;
+
bool is_service_isolate() const { return is_service_isolate_; }
static void KillAllIsolates(LibMsgId msg_id);
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698