Index: src/compiler/pipeline.h |
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
index 0c0a57b28605a53b39c11a45c43395d15da2191e..6846667d39266b9674d0bc0ff21ad24b22ca54ed 100644 |
--- a/src/compiler/pipeline.h |
+++ b/src/compiler/pipeline.h |
@@ -17,6 +17,11 @@ class CompilationInfo; |
class CompilationJob; |
class RegisterConfiguration; |
+namespace wasm { |
+struct ProtectedInstructionData; |
+typedef std::vector<ProtectedInstructionData> ProtectedInstructionList; |
+} // namespace wasm |
+ |
namespace compiler { |
class CallDescriptor; |
@@ -33,7 +38,8 @@ class Pipeline : public AllStatic { |
// Returns a new compilation job for the WebAssembly compilation info. |
static CompilationJob* NewWasmCompilationJob( |
CompilationInfo* info, Graph* graph, CallDescriptor* descriptor, |
- SourcePositionTable* source_positions); |
+ SourcePositionTable* source_positions, |
+ wasm::ProtectedInstructionList* protected_instructions); |
// Run the pipeline on a machine graph and generate code. The {schedule} must |
// be valid, hence the given {graph} does not need to be schedulable. |