21 std::optional<wasm::ModuleWireBytes> module_bytes =
23 if (module_bytes.has_value() &&
26#ifdef V8_ENABLE_WASM_SIMD256_REVEC
31 module_bytes.value(), index);
32 if (!name.is_empty()) {
33 int name_len = name.length();
35 memcpy(index_name, module_bytes->start() + name.offset(), name_len);
40 constexpr int kBufferLength = 24;
43 int name_len = SNPrintF(name_vector,
"wasm-function#%d", index);
47 memcpy(index_name, name_vector.
begin(), name_len);
55 bool need_frame_state) {
58 bool extra_callable_param =
64 zone, fsig, extra_callable_param, ¶meter_slots, &return_slots);
66 const RegList kCalleeSaveRegisters;
78 descriptor_kind = CallDescriptor::kCallWasmFunction;
81 descriptor_kind = CallDescriptor::kCallWasmFunctionIndirect;
85 descriptor_kind = CallDescriptor::kCallWasmImportWrapper;
88 descriptor_kind = CallDescriptor::kCallWasmCapiFunction;
103 kCalleeSaveRegisters,
104 kCalleeSaveFPRegisters,
constexpr T * begin() const
static LinkageLocation ForAnyRegister(MachineType type=MachineType::None())
static constexpr MachineType Pointer()
T * AllocateArray(size_t length)
static uint64_t Hash(const SigType *sig)
virtual std::optional< ModuleWireBytes > GetModuleBytes() const =0
#define EXPORT_TEMPLATE_DEFINE(export)
base::Vector< const char > GetDebugName(Zone *zone, const wasm::WasmModule *module, const wasm::WireBytesStorage *wire_bytes, int index)
LocationSignature * BuildLocations(Zone *zone, const Signature< T > *sig, bool extra_callable_param, int *parameter_slots, int *return_slots)
CallDescriptor * GetWasmCallDescriptor(Zone *zone, const Signature< T > *fsig, WasmCallKind call_kind, bool need_frame_state)
std::ostream & operator<<(std::ostream &os, AccessMode access_mode)
V8_EXPORT_PRIVATE FlagValues v8_flags
constexpr uint64_t kInvalidWasmSignatureHash
#define DCHECK(condition)
#define V8_EXPORT_PRIVATE