#include "src/wasm/value-type.h"
#include "src/codegen/signature.h"
#include "src/utils/utils.h"
namespace v8::internal::wasm {
std::optional<wasm::ValueKind> WasmReturnTypeFromSignature(
const FunctionSig* wasm_signature) { … }
#if DEBUG
V8_EXPORT_PRIVATE extern void PrintFunctionSig(const wasm::FunctionSig* sig) { … }
#endif
namespace {
const wasm::FunctionSig* ReplaceTypeInSig(Zone* zone,
const wasm::FunctionSig* sig,
wasm::ValueType from,
wasm::ValueType to,
size_t num_replacements) { … }
}
const wasm::FunctionSig* GetI32Sig(Zone* zone, const wasm::FunctionSig* sig) { … }
}