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

Unified Diff: runtime/vm/isolate.cc

Issue 2739663002: Revert "Replacing TrySync with Metadata" (Closed)
Patch Set: 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/isolate.h ('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.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index aa2caf2d4d7568f0cae66c98d39c358b39a7de1d..b473061aadc884ff94fc990da3ccb0d03c245284 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -769,12 +769,6 @@ void BaseIsolate::AssertCurrentThreadIsMutator() const {
#define REUSABLE_HANDLE_INITIALIZERS(object) object##_handle_(NULL),
-
-static void FreeCatchEntryState(CatchEntryState* state) {
- delete state->data;
-}
-
-
// TODO(srdjan): Some Isolate monitors can be shared. Replace their usage with
// that shared monitor.
Isolate::Isolate(const Dart_IsolateFlags& api_flags)
@@ -852,8 +846,7 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags)
reload_context_(NULL),
last_reload_timestamp_(OS::GetCurrentTimeMillis()),
should_pause_post_service_request_(false),
- handler_info_cache_(),
- catch_entry_state_cache_(FreeCatchEntryState) {
+ handler_info_cache_() {
NOT_IN_PRODUCT(FlagsCopyFrom(api_flags));
// TODO(asiva): A Thread is not available here, need to figure out
// how the vm_tag (kEmbedderTagId) can be set, these tags need to
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698