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

Unified Diff: runtime/vm/isolate.h

Issue 1299493007: Rework service extensions to be safe (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 3d06d6f091662382d079c13919042702373feb7c..74ba3d92ab8b90466664a0682250d205aaf82ca5 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -707,6 +707,14 @@ class Isolate : public BaseIsolate {
compilation_allowed_ = allowed;
}
+ RawGrowableObjectArray* pending_extension_calls() const {
+ return pending_extension_calls_;
+ }
+ void set_pending_extension_calls(const GrowableObjectArray& value);
turnidge 2015/08/20 17:34:39 Maybe make pending_extension_calls, set_pending_ex
Cutch 2015/08/20 18:09:37 Done.
+ RawObject* InvokePendingExtensionCalls();
+ RawGrowableObjectArray* PrunePendingExtensionCalls();
+ void AppendExtensionCall(const Instance& closure);
+
#if defined(DEBUG)
#define REUSABLE_HANDLE_SCOPE_ACCESSORS(object) \
void set_reusable_##object##_handle_scope_active(bool value) { \
@@ -861,6 +869,8 @@ class Isolate : public BaseIsolate {
RawGrowableObjectArray* collected_closures_;
RawGrowableObjectArray* deoptimized_code_array_;
+ RawGrowableObjectArray* pending_extension_calls_;
+
Metric* metrics_list_head_;
Counters counters_;
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698