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

Unified Diff: src/compiler/pipeline.h

Issue 1904723002: [wasm] Introduce ExecuteWasmCompilation and FinalizeWasmCompilation in pipeline.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@parallel-compilation
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') | src/compiler/pipeline.cc » ('J')
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 0d52ba2474fc39461dd3d2df25603feba9086845..391fef87af4f71e0567f48a4554f9cfe48366f3e 100644
--- a/src/compiler/pipeline.h
+++ b/src/compiler/pipeline.h
@@ -65,9 +65,8 @@ class Pipeline {
void InitializeWasmCompilation(Zone* pipeline_zone, ZonePool* zone_pool,
Graph* graph);
- void FinalizeWasmCompilation();
-
- Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
+ bool ExecuteWasmCompilation(CallDescriptor* descriptor);
+ Handle<Code> FinalizeWasmCompilation(CallDescriptor* descriptor);
private:
// Helpers for executing pipeline phases.
@@ -82,7 +81,9 @@ class Pipeline {
void RunPrintAndVerify(const char* phase, bool untyped = false);
void AllocateRegisters(const RegisterConfiguration* config,
CallDescriptor* descriptor, bool run_verifier);
-
+ bool ScheduleGraph(CallDescriptor* call_descriptor);
+ Handle<Code> GenerateCode(CallDescriptor* descriptor);
+ Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor);
CompilationInfo* info() const { return info_; }
Isolate* isolate() const;
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | src/compiler/pipeline.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698