Buildfix for arm
TBR=jkummerow@chromium.org LOG=n BUG=none Review URL: https://codereview.chromium.org/299353006 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21503 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a5a21a0da4
commit
6640ed7235
@ -345,7 +345,7 @@ V8_INLINE void MemCopy(void* dest, const void* src, size_t size) {
|
||||
#elif defined(V8_HOST_ARCH_ARM)
|
||||
typedef void (*MemCopyUint8Function)(uint8_t* dest, const uint8_t* src,
|
||||
size_t size);
|
||||
MemCopyUint8Function memcopy_uint8_function;
|
||||
extern MemCopyUint8Function memcopy_uint8_function;
|
||||
void MemCopyUint8Wrapper(uint8_t* dest, const uint8_t* src, size_t chars) {
|
||||
memcpy(dest, src, chars);
|
||||
}
|
||||
@ -361,7 +361,7 @@ V8_INLINE void MemMove(void* dest, const void* src, size_t size) {
|
||||
|
||||
typedef void (*MemCopyUint16Uint8Function)(uint16_t* dest, const uint8_t* src,
|
||||
size_t size);
|
||||
MemCopyUint16Uint8Function memcopy_uint16_uint8_function;
|
||||
extern MemCopyUint16Uint8Function memcopy_uint16_uint8_function;
|
||||
void MemCopyUint16Uint8Wrapper(uint16_t* dest, const uint8_t* src,
|
||||
size_t chars);
|
||||
// For values < 12, the assembler function is slower than the inlined C code.
|
||||
@ -373,7 +373,7 @@ V8_INLINE void MemCopyUint16Uint8(uint16_t* dest, const uint8_t* src,
|
||||
#elif defined(V8_HOST_ARCH_MIPS)
|
||||
typedef void (*MemCopyUint8Function)(uint8_t* dest, const uint8_t* src,
|
||||
size_t size);
|
||||
MemCopyUint8Function memcopy_uint8_function;
|
||||
extern MemCopyUint8Function memcopy_uint8_function;
|
||||
V8_INLINE void MemCopyUint8Wrapper(uint8_t* dest, const uint8_t* src,
|
||||
size_t chars) {
|
||||
memcpy(dest, src, chars);
|
||||
|
Loading…
Reference in New Issue
Block a user