Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Unified Diff: src/compiler/pipeline.h

Issue 1900713005: [wasm] First step to separate graph construction from graph compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.h
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
index e22c1db269456bebb6a29e7e276952fdccaab089..0d52ba2474fc39461dd3d2df25603feba9086845 100644
--- a/src/compiler/pipeline.h
+++ b/src/compiler/pipeline.h
@@ -15,6 +15,7 @@ namespace internal {
class CompilationInfo;
class OptimizedCompileJob;
class RegisterConfiguration;
+class Zone;
namespace compiler {
@@ -24,6 +25,7 @@ class InstructionSequence;
class Linkage;
class PipelineData;
class Schedule;
+class ZonePool;
class Pipeline {
public:
@@ -61,6 +63,12 @@ class Pipeline {
// Returns a new compilation job for the given compilation info.
static OptimizedCompileJob* NewCompilationJob(CompilationInfo* info);
+ void InitializeWasmCompilation(Zone* pipeline_zone, ZonePool* zone_pool,
+ Graph* graph);
+ void FinalizeWasmCompilation();
+
+ Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
+
private:
// Helpers for executing pipeline phases.
template <typename Phase>
@@ -72,7 +80,6 @@ class Pipeline {
void BeginPhaseKind(const char* phase_kind);
void RunPrintAndVerify(const char* phase, bool untyped = false);
- Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
void AllocateRegisters(const RegisterConfiguration* config,
CallDescriptor* descriptor, bool run_verifier);
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698