diff options
Diffstat (limited to 'deps/v8/src/compiler/pipeline.h')
-rw-r--r-- | deps/v8/src/compiler/pipeline.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/pipeline.h b/deps/v8/src/compiler/pipeline.h index 8c56911023..f5993afc8c 100644 --- a/deps/v8/src/compiler/pipeline.h +++ b/deps/v8/src/compiler/pipeline.h @@ -32,6 +32,7 @@ namespace compiler { class CallDescriptor; class Graph; class InstructionSequence; +class JSHeapBroker; class MachineGraph; class NodeOriginTable; class Schedule; @@ -80,8 +81,11 @@ class Pipeline : public AllStatic { // --------------------------------------------------------------------------- // Run the pipeline on JavaScript bytecode and generate code. + // If requested, hands out the heap broker, which is allocated + // in {info}'s zone. static MaybeHandle<Code> GenerateCodeForTesting( - OptimizedCompilationInfo* info, Isolate* isolate); + OptimizedCompilationInfo* info, Isolate* isolate, + JSHeapBroker** out_broker = nullptr); // Run the pipeline on a machine graph and generate code. If {schedule} is // {nullptr}, then compute a new schedule for code generation. |