5#ifndef V8_COMPILER_TURBOSHAFT_WASM_JS_LOWERING_REDUCER_H_
6#define V8_COMPILER_TURBOSHAFT_WASM_JS_LOWERING_REDUCER_H_
8#if !V8_ENABLE_WEBASSEMBLY
9#error This header should only be included if WebAssembly is enabled.
32 bool negated, TrapId trap_id) {
34 DCHECK(frame_state.valid());
39 const bool needs_frame_state =
true;
52 __ Call(call_target, new_frame_state, {}, ts_descriptor);
70 int offset =
__ input_graph().source_positions()[origin].ScriptOffset();
73 Asm().graph_zone()->template New<FrameStateInfo>(
75 FrameStateData* new_data = Asm().graph_zone()->template New<FrameStateData>(
#define REDUCE(operation)
union v8::internal::@341::BuiltinMetadata::KindSpecificData data
constexpr bool valid() const
SourcePositionTable * source_positions_
OpIndex CreateFrameStateWithUpdatedBailoutId(V< FrameState > frame_state)
V< None > REDUCE TrapIf(V< Word32 > condition, OptionalV< FrameState > frame_state, bool negated, TrapId trap_id)
#define TURBOSHAFT_REDUCER_BOILERPLATE(Name)
SourcePositionTable * source_positions
std::optional< OolTrapLabel > trap
NumberConstant(std::numeric_limits< double >::quiet_NaN())) DEFINE_GETTER(EmptyStateValues
CallDescriptor * GetBuiltinCallDescriptor(Builtin name, Zone *zone, StubCallMode stub_mode, bool needs_frame_state, Operator::Properties properties)
Tagged< To > Cast(Tagged< From > value, const v8::SourceLocation &loc=INIT_SOURCE_LOCATION_IN_DEBUG)
#define DCHECK(condition)
const FrameStateData * data
base::Vector< OpIndex > inputs()
static const TSCallDescriptor * Create(const CallDescriptor *descriptor, CanThrow can_throw, LazyDeoptOnThrow lazy_deopt_on_throw, Zone *graph_zone, const JSWasmCallParameters *js_wasm_call_parameters=nullptr)