summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/backend/instruction-selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/backend/instruction-selector.h')
-rw-r--r--deps/v8/src/compiler/backend/instruction-selector.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/backend/instruction-selector.h b/deps/v8/src/compiler/backend/instruction-selector.h
index 6452e3ec4c..fc16814d45 100644
--- a/deps/v8/src/compiler/backend/instruction-selector.h
+++ b/deps/v8/src/compiler/backend/instruction-selector.h
@@ -272,7 +272,8 @@ class V8_EXPORT_PRIVATE InstructionSelector final {
InstructionSequence* sequence, Schedule* schedule,
SourcePositionTable* source_positions, Frame* frame,
EnableSwitchJumpTable enable_switch_jump_table, TickCounter* tick_counter,
- size_t* max_unoptimized_frame_height, size_t* max_pushed_argument_count,
+ JSHeapBroker* broker, size_t* max_unoptimized_frame_height,
+ size_t* max_pushed_argument_count,
SourcePositionMode source_position_mode = kCallSourcePositions,
Features features = SupportedFeatures(),
EnableScheduling enable_scheduling = FLAG_turbo_instruction_scheduling
@@ -708,6 +709,9 @@ class V8_EXPORT_PRIVATE InstructionSelector final {
ZoneVector<std::pair<int, int>> instr_origins_;
EnableTraceTurboJson trace_turbo_;
TickCounter* const tick_counter_;
+ // The broker is only used for unparking the LocalHeap for diagnostic printing
+ // for failed StaticAsserts.
+ JSHeapBroker* const broker_;
// Store the maximal unoptimized frame height and an maximal number of pushed
// arguments (for calls). Later used to apply an offset to stack checks.