diff options
Diffstat (limited to 'deps/v8/src/utils/memcopy.cc')
-rw-r--r-- | deps/v8/src/utils/memcopy.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/src/utils/memcopy.cc b/deps/v8/src/utils/memcopy.cc index 3332baa3e6..7e0fdb9a00 100644 --- a/deps/v8/src/utils/memcopy.cc +++ b/deps/v8/src/utils/memcopy.cc @@ -25,7 +25,7 @@ V8_EXPORT_PRIVATE void MemMove(void* dest, const void* src, size_t size) { // on all architectures we currently support. (*memmove_function)(dest, src, size); } -#elif V8_OS_POSIX && V8_HOST_ARCH_ARM +#elif(V8_OS_POSIX || V8_OS_STARBOARD) && V8_HOST_ARCH_ARM V8_EXPORT_PRIVATE MemCopyUint8Function memcopy_uint8_function = &MemCopyUint8Wrapper; #elif V8_OS_POSIX && V8_HOST_ARCH_MIPS @@ -38,19 +38,19 @@ void init_memcopy_functions() { if (Isolate::CurrentEmbeddedBlobIsBinaryEmbedded()) { EmbeddedData d = EmbeddedData::FromBlob(); memmove_function = reinterpret_cast<MemMoveFunction>( - d.InstructionStartOfBuiltin(Builtins::kMemMove)); + d.InstructionStartOfBuiltin(Builtin::kMemMove)); } -#elif V8_OS_POSIX && V8_HOST_ARCH_ARM +#elif(V8_OS_POSIX || V8_OS_STARBOARD) && V8_HOST_ARCH_ARM if (Isolate::CurrentEmbeddedBlobIsBinaryEmbedded()) { EmbeddedData d = EmbeddedData::FromBlob(); memcopy_uint8_function = reinterpret_cast<MemCopyUint8Function>( - d.InstructionStartOfBuiltin(Builtins::kMemCopyUint8Uint8)); + d.InstructionStartOfBuiltin(Builtin::kMemCopyUint8Uint8)); } #elif V8_OS_POSIX && V8_HOST_ARCH_MIPS if (Isolate::CurrentEmbeddedBlobIsBinaryEmbedded()) { EmbeddedData d = EmbeddedData::FromBlob(); memcopy_uint8_function = reinterpret_cast<MemCopyUint8Function>( - d.InstructionStartOfBuiltin(Builtins::kMemCopyUint8Uint8)); + d.InstructionStartOfBuiltin(Builtin::kMemCopyUint8Uint8)); } #endif } |