| Index: src/compiler/pipeline.h
|
| diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
|
| index ea8b7e9b4bd0ccc5b4467c3da094b23e71b856e2..836d8336d2b04f95bd75921f1107abd8f321c365 100644
|
| --- a/src/compiler/pipeline.h
|
| +++ b/src/compiler/pipeline.h
|
| @@ -28,6 +28,12 @@ class Pipeline {
|
| // Run the entire pipeline and generate a handle to a code object.
|
| Handle<Code> GenerateCode();
|
|
|
| + // Run the pipeline on an interpreter bytecode handler machine graph and
|
| + // generate code.
|
| + static Handle<Code> GenerateCodeForInterpreter(
|
| + Isolate* isolate, CallDescriptor* call_descriptor, Graph* graph,
|
| + Schedule* schedule, interpreter::Bytecode bytecode);
|
| +
|
| // 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,
|
| @@ -41,15 +47,16 @@ class Pipeline {
|
| Graph* graph,
|
| Schedule* schedule = nullptr);
|
|
|
| +
|
| // Run just the register allocator phases.
|
| static bool AllocateRegistersForTesting(const RegisterConfiguration* config,
|
| InstructionSequence* sequence,
|
| bool run_verifier);
|
|
|
| private:
|
| - static Handle<Code> GenerateCodeForTesting(CompilationInfo* info,
|
| - CallDescriptor* call_descriptor,
|
| - Graph* graph, Schedule* schedule);
|
| + static Handle<Code> GenerateCodeFromMachineGraph(
|
| + CompilationInfo* info, CallDescriptor* call_descriptor, Graph* graph,
|
| + Schedule* schedule);
|
|
|
| CompilationInfo* info_;
|
| PipelineData* data_;
|
|
|