Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index c59e5a6ae6d08871cf6e4fb0f2fb50c33710e017..1f303c321e0dcebcdc25bd2a287e7bd690c37646 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3427,8 +3427,11 @@ void WasmCompilationUnit::ExecuteCompilation() { |
descriptor = |
module_env_->GetI32WasmCallDescriptor(&compilation_zone_, descriptor); |
} |
+ wasm::ProtectedInstructionList* protected_instructions = |
+ &module_env_->instance->protected_instructions[index_]; |
job_.reset(Pipeline::NewWasmCompilationJob(&info_, jsgraph_->graph(), |
- descriptor, source_positions)); |
+ descriptor, source_positions, |
+ protected_instructions)); |
ok_ = job_->ExecuteJob() == CompilationJob::SUCCEEDED; |
// TODO(bradnelson): Improve histogram handling of size_t. |
// TODO(ahaas): The counters are not thread-safe at the moment. |