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

Unified Diff: src/wasm/wasm-module.h

Issue 2887193002: Create a thread safe version of StatsCounters and use. (Closed)
Patch Set: fix nits of mtrofin Created 3 years, 7 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: src/wasm/wasm-module.h
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h
index 4776298e9f865af1a1ad5afc74458f033dff55c5..4c89774baa74fa3ddeea7ac7093151505654791b 100644
--- a/src/wasm/wasm-module.h
+++ b/src/wasm/wasm-module.h
@@ -501,7 +501,8 @@ Handle<Code> CompileLazy(Isolate* isolate);
// logic to actually orchestrate parallel execution of wasm compilation jobs.
// TODO(clemensh): Implement concurrent lazy compilation.
class LazyCompilationOrchestrator {
- void CompileFunction(Isolate*, Handle<WasmInstanceObject>, int func_index);
+ void CompileFunction(Isolate*, Handle<WasmInstanceObject>, int func_index,
+ Counters* counters);
public:
Handle<Code> CompileLazy(Isolate*, Handle<WasmInstanceObject>,

Powered by Google App Engine
This is Rietveld 408576698