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