25 std::optional<BytecodeHandlerData> bytecode_handler_data) {
26 using namespace compiler::turboshaft;
27 DCHECK_EQ(code_kind == CodeKind::BYTECODE_HANDLER,
28 bytecode_handler_data.has_value());
39 data.InitializeBuiltinComponent(call_descriptor,
40 std::move(bytecode_handler_data));
41 data.InitializeGraphComponent(
nullptr);
43 generator(&data, isolate, data.graph(), temp_zone);
47 &data, call_descriptor, builtin, name,
DirectHandle< Code > BuildWithTurboshaftAssemblerImpl(Isolate *isolate, Builtin builtin, TurboshaftAssemblerGenerator generator, std::function< compiler::CallDescriptor *(Zone *)> call_descriptor_builder, const char *name, const AssemblerOptions &options, CodeKind code_kind, std::optional< BytecodeHandlerData > bytecode_handler_data)