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

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

Issue 2929853003: Fix use of history timers in background threads. (Closed)
Patch Set: Fix issues with counters on foreground thread. 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 | « no previous file | src/compiler/wasm-compiler.cc » ('j') | src/isolate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.h
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h
index aab4e1bdcddbd386f9c422223a64fa3aa8cac398..18c7cc50157937bb5785b3572f69614d4b564e3d 100644
--- a/src/compiler/wasm-compiler.h
+++ b/src/compiler/wasm-compiler.h
@@ -48,10 +48,9 @@ namespace compiler {
class WasmCompilationUnit final {
public:
WasmCompilationUnit(Isolate* isolate, wasm::ModuleBytesEnv* module_env,
- const wasm::WasmFunction* function, bool is_sync = true);
+ const wasm::WasmFunction* function);
WasmCompilationUnit(Isolate* isolate, wasm::ModuleEnv* module_env,
- wasm::FunctionBody body, wasm::WasmName name, int index,
- bool is_sync = true);
+ wasm::FunctionBody body, wasm::WasmName name, int index);
kschimpf 2017/06/09 20:03:37 Note: the compilation step is always run on the fo
Zone* graph_zone() { return graph_zone_.get(); }
int func_index() const { return func_index_; }
@@ -72,7 +71,6 @@ class WasmCompilationUnit final {
wasm::ModuleEnv* module_env_;
wasm::FunctionBody func_body_;
wasm::WasmName func_name_;
- bool is_sync_;
// The graph zone is deallocated at the end of ExecuteCompilation.
std::unique_ptr<Zone> graph_zone_;
JSGraph* jsgraph_;
@@ -89,8 +87,6 @@ class WasmCompilationUnit final {
protected_instructions_; // Instructions that are protected by the signal
// handler.
- void ExecuteCompilationInternal();
-
DISALLOW_COPY_AND_ASSIGN(WasmCompilationUnit);
};
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | src/isolate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698