Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 34d700ce688c198f0789a2385228993daed4ac05..594574b489a458581d5a90f96bb9a80a4465f31e 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3967,7 +3967,7 @@ void WasmCompilationUnit::ExecuteCompilation() { |
} |
job_.reset(Pipeline::NewWasmCompilationJob( |
&info_, jsgraph_, descriptor, source_positions, &protected_instructions_, |
- module_env_->module->origin != wasm::kWasmOrigin)); |
+ !module_env_->module->is_wasm())); |
ok_ = job_->ExecuteJob() == CompilationJob::SUCCEEDED; |
// TODO(bradnelson): Improve histogram handling of size_t. |
// TODO(ahaas): The counters are not thread-safe at the moment. |