summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/pipeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/pipeline.h')
-rw-r--r--deps/v8/src/compiler/pipeline.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/pipeline.h b/deps/v8/src/compiler/pipeline.h
index 5e4ae8671b..a86efe840b 100644
--- a/deps/v8/src/compiler/pipeline.h
+++ b/deps/v8/src/compiler/pipeline.h
@@ -54,6 +54,13 @@ class Pipeline : public AllStatic {
wasm::NativeModule* native_module, int function_index,
wasm::ModuleOrigin wasm_origin);
+ // Run the pipeline on a machine graph and generate code.
+ static MaybeHandle<Code> GenerateCodeForWasmStub(
+ Isolate* isolate, CallDescriptor* call_descriptor, Graph* graph,
+ Code::Kind kind, const char* debug_name,
+ const AssemblerOptions& assembler_options,
+ SourcePositionTable* source_positions = nullptr);
+
// 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 MaybeHandle<Code> GenerateCodeForCodeStub(
@@ -76,8 +83,7 @@ class Pipeline : public AllStatic {
V8_EXPORT_PRIVATE static MaybeHandle<Code> GenerateCodeForTesting(
OptimizedCompilationInfo* info, Isolate* isolate,
CallDescriptor* call_descriptor, Graph* graph,
- const AssemblerOptions& options, Schedule* schedule = nullptr,
- SourcePositionTable* source_positions = nullptr);
+ const AssemblerOptions& options, Schedule* schedule = nullptr);
// Run just the register allocator phases.
V8_EXPORT_PRIVATE static bool AllocateRegistersForTesting(