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

Unified Diff: src/compiler/pipeline.h

Issue 1890803002: [wasm] Generate source position information (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-throw-error
Patch Set: minor 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/source-position.h » ('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 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.
Michael Starzinger 2016/04/22 11:30:21 nit: We could even add "(specifically modeled for
+ 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,
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | src/compiler/source-position.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698