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

Unified Diff: src/isolate.cc

Issue 2961443002: Remove DCHECK for isolate->counters() (Closed)
Patch Set: 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 | « src/isolate.h ('k') | src/wasm/module-compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index d7480fefe47b242cf32b57e044d53c205ba2870d..fafd50b18aa710bc14a706d8316f9efee0b1522c 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -2631,8 +2631,8 @@ bool Isolate::PropagatePendingExceptionToExternalTryCatch() {
}
bool Isolate::InitializeCounters() {
- if (counters_shared_) return false;
- counters_shared_ = std::make_shared<Counters>(this);
+ if (async_counters_) return false;
+ async_counters_ = std::make_shared<Counters>(this);
return true;
}
« no previous file with comments | « src/isolate.h ('k') | src/wasm/module-compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698