5#ifndef V8_COMPILER_WASM_COMPILER_DEFINITIONS_H_
6#define V8_COMPILER_WASM_COMPILER_DEFINITIONS_H_
8#if !V8_ENABLE_WEBASSEMBLY
9#error This header should only be included if WebAssembly is enabled.
28class WireBytesStorage;
29struct ModuleWireBytes;
51 return os << p.
from.
name() <<
" -> " << p.
to.name();
60 return p1.from ==
p2.from &&
p1.to ==
p2.to;
105 bool need_frame_state =
false);
114 bool extra_callable_param,
115 int* parameter_slots,
int* return_slots) {
116 int extra_params = extra_callable_param ? 2 : 1;
118 sig->parameter_count() + extra_params);
119 int untagged_parameter_slots;
120 int untagged_return_slots;
122 &untagged_parameter_slots, parameter_slots,
123 &untagged_return_slots, return_slots);
124 return locations.
Get();
V8_EXPORT_PRIVATE std::string name() const
constexpr uint32_t raw_bit_field() const
#define EXPORT_TEMPLATE_DECLARE(export)
V8_INLINE size_t hash_combine(size_t seed, size_t hash)
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)
size_t hash_value(const BranchParameters &p)
CallDescriptor * GetWasmCallDescriptor(Zone *zone, const Signature< T > *fsig, WasmCallKind call_kind, bool need_frame_state)
bool operator==(const BranchParameters &lhs, const BranchParameters &rhs)
static constexpr int kCharWidthBailoutSentinel
std::ostream & operator<<(std::ostream &os, AccessMode access_mode)
void IterateSignatureImpl(const SigType *sig, bool extra_callable_param, ResultCollector &locations, int *untagged_parameter_slots, int *total_parameter_slots, int *untagged_return_slots, int *total_return_slots)
wasm::WasmModule WasmModule
kWasmInternalFunctionIndirectPointerTag kProtectedInstanceDataOffset sig
#define V8_EXPORT_PRIVATE