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

Unified Diff: runtime/vm/isolate.h

Issue 2734323003: Re-landing of "replace TrySync with Metadata". (Closed)
Patch Set: Address review comments Created 3 years, 9 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/intermediate_language_x64.cc ('k') | runtime/vm/object.h » ('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 e5c55b4dc2414899f224c6516c37f516eecef5a3..e7a69b49df86409edae7ef45f84012b1dad0dda8 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -128,6 +128,8 @@ class NoReloadScope : public StackResource {
// Fixed cache for exception handler lookup.
typedef FixedCache<intptr_t, ExceptionHandlerInfo, 16> HandlerInfoCache;
+// Fixed cache for catch entry state lookup.
+typedef FixedCache<intptr_t, CatchEntryState, 16> CatchEntryStateCache;
// List of Isolate flags with corresponding members of Dart_IsolateFlags and
// corresponding global command line flags.
@@ -675,6 +677,10 @@ class Isolate : public BaseIsolate {
HandlerInfoCache* handler_info_cache() { return &handler_info_cache_; }
+ CatchEntryStateCache* catch_entry_state_cache() {
+ return &catch_entry_state_cache_;
+ }
+
void MaybeIncreaseReloadEveryNStackOverflowChecks();
private:
@@ -870,6 +876,7 @@ class Isolate : public BaseIsolate {
bool should_pause_post_service_request_;
HandlerInfoCache handler_info_cache_;
+ CatchEntryStateCache catch_entry_state_cache_;
static Dart_IsolateCreateCallback create_callback_;
static Dart_IsolateShutdownCallback shutdown_callback_;
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698