12#if V8_TARGET_ARCH_IA32
13static void MemMoveWrapper(
void* dest,
const void* src,
size_t size) {
14 memmove(dest, src, size);
18static MemMoveFunction memmove_function = &MemMoveWrapper;
23 if (size == 0)
return;
26 (*memmove_function)(dest, src,
size);
28#elif(V8_OS_POSIX || V8_OS_STARBOARD) && V8_HOST_ARCH_ARM
31#elif V8_OS_POSIX && V8_HOST_ARCH_MIPS
37#if V8_TARGET_ARCH_IA32
40 memmove_function =
reinterpret_cast<MemMoveFunction
>(
41 d.InstructionStartOf(Builtin::kMemMove));
43#elif(V8_OS_POSIX || V8_OS_STARBOARD) && V8_HOST_ARCH_ARM
46 memcopy_uint8_function =
reinterpret_cast<MemCopyUint8Function
>(
47 d.InstructionStartOf(Builtin::kMemCopyUint8Uint8));
49#elif V8_OS_POSIX && V8_HOST_ARCH_MIPS
52 memcopy_uint8_function =
reinterpret_cast<MemCopyUint8Function
>(
53 d.InstructionStartOf(Builtin::kMemCopyUint8Uint8));
static EmbeddedData FromBlob()
static bool CurrentEmbeddedBlobIsBinaryEmbedded()
V8_EXPORT_PRIVATE void MemMove(void *dest, const void *src, size_t size)
void init_memcopy_functions()
#define DISABLE_CFI_ICALL
#define V8_EXPORT_PRIVATE