#include "src/compiler/wasm-call-descriptors.h"
#include "src/common/globals.h"
#include "src/compiler/wasm-graph-assembler.h"
#include "src/zone/zone.h"
namespace v8::internal::compiler {
WasmCallDescriptors::WasmCallDescriptors(AccountingAllocator* allocator)
: … { … }
#if V8_TARGET_ARCH_32_BIT
compiler::CallDescriptor* WasmCallDescriptors::GetLoweredCallDescriptor(
const compiler::CallDescriptor* original) {
if (original == bigint_to_i64_descriptor_) {
return bigint_to_i32pair_descriptor_;
}
if (original == bigint_to_i64_descriptor_with_framestate_) {
return bigint_to_i32pair_descriptor_with_framestate_;
}
return nullptr;
}
#endif
}