| Index: src/compiler/pipeline.h
|
| diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
|
| index e22c1db269456bebb6a29e7e276952fdccaab089..d0284a61aac44cf28962e18ad060fda4b5b89e00 100644
|
| --- a/src/compiler/pipeline.h
|
| +++ b/src/compiler/pipeline.h
|
| @@ -24,6 +24,7 @@ class InstructionSequence;
|
| class Linkage;
|
| class PipelineData;
|
| class Schedule;
|
| +class SourcePositionTable;
|
|
|
| class Pipeline {
|
| public:
|
| @@ -32,6 +33,13 @@ class Pipeline {
|
| // Run the entire pipeline and generate a handle to a code object.
|
| Handle<Code> GenerateCode();
|
|
|
| + // Run the pipeline on a machine graph, compute a new schedule and generate
|
| + // code.
|
| + static Handle<Code> GenerateWASMCode(CompilationInfo* info,
|
| + CallDescriptor* call_descriptor,
|
| + Graph* graph,
|
| + SourcePositionTable* source_positions);
|
| +
|
| // 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.
|
| static Handle<Code> GenerateCodeForCodeStub(Isolate* isolate,
|
|
|