diff options
Diffstat (limited to 'deps/v8/src/compiler/pipeline.h')
-rw-r--r-- | deps/v8/src/compiler/pipeline.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/deps/v8/src/compiler/pipeline.h b/deps/v8/src/compiler/pipeline.h index 0c0a57b286..0c3e4ea7cb 100644 --- a/deps/v8/src/compiler/pipeline.h +++ b/deps/v8/src/compiler/pipeline.h @@ -9,6 +9,7 @@ // Do not include anything from src/compiler here! #include "src/globals.h" #include "src/objects.h" +#include "src/zone/zone-containers.h" namespace v8 { namespace internal { @@ -17,9 +18,14 @@ class CompilationInfo; class CompilationJob; class RegisterConfiguration; +namespace trap_handler { +struct ProtectedInstructionData; +} // namespace trap_handler + namespace compiler { class CallDescriptor; +class JSGraph; class Graph; class InstructionSequence; class Schedule; @@ -32,8 +38,11 @@ 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); + CompilationInfo* info, JSGraph* jsgraph, CallDescriptor* descriptor, + SourcePositionTable* source_positions, + ZoneVector<trap_handler::ProtectedInstructionData>* + protected_instructions, + bool wasm_origin); // 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. @@ -60,10 +69,10 @@ class Pipeline : public AllStatic { // Run the pipeline on a machine graph and generate code. If {schedule} is // {nullptr}, then compute a new schedule for code generation. - static Handle<Code> GenerateCodeForTesting(CompilationInfo* info, - CallDescriptor* call_descriptor, - Graph* graph, - Schedule* schedule = nullptr); + static Handle<Code> GenerateCodeForTesting( + CompilationInfo* info, CallDescriptor* call_descriptor, Graph* graph, + Schedule* schedule = nullptr, + SourcePositionTable* source_positions = nullptr); private: DISALLOW_IMPLICIT_CONSTRUCTORS(Pipeline); |