Index: src/compiler/pipeline.h |
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
index 0c0a57b28605a53b39c11a45c43395d15da2191e..7799bf835f57e854da0ac00e133d1ece18cc4a5d 100644 |
--- a/src/compiler/pipeline.h |
+++ b/src/compiler/pipeline.h |
@@ -17,6 +17,11 @@ class CompilationInfo; |
class CompilationJob; |
class RegisterConfiguration; |
+namespace trap_handler { |
+struct ProtectedInstructionData; |
+typedef std::vector<ProtectedInstructionData> ProtectedInstructionList; |
titzer
2016/11/30 17:31:12
Do you want to use a ZoneVector?
Eric Holk
2016/11/30 20:16:19
Yes.
Done.
|
+} // namespace trap_handler |
+ |
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, |
+ trap_handler::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. |