| Index: src/platform-posix.cc
|
| diff --git a/src/platform-posix.cc b/src/platform-posix.cc
|
| index a3a003593f3f652e7f9c960925d7e3c6f92fa7bf..7a346ec88d18914070d7659b9b35c3055ac81fc5 100644
|
| --- a/src/platform-posix.cc
|
| +++ b/src/platform-posix.cc
|
| @@ -537,6 +537,7 @@ OS::MemCopyUint16Uint8Function OS::memcopy_uint16_uint8_function =
|
| &OS::MemCopyUint16Uint8Wrapper;
|
| // Defined in codegen-arm.cc.
|
| OS::MemCopyUint8Function CreateMemCopyUint8Function(
|
| + bool serializer_enabled,
|
| OS::MemCopyUint8Function stub);
|
| OS::MemCopyUint16Uint8Function CreateMemCopyUint16Uint8Function(
|
| OS::MemCopyUint16Uint8Function stub);
|
| @@ -545,11 +546,12 @@ OS::MemCopyUint16Uint8Function CreateMemCopyUint16Uint8Function(
|
| OS::MemCopyUint8Function OS::memcopy_uint8_function = &OS::MemCopyUint8Wrapper;
|
| // Defined in codegen-mips.cc.
|
| OS::MemCopyUint8Function CreateMemCopyUint8Function(
|
| + bool serializer_enabled,
|
| OS::MemCopyUint8Function stub);
|
| #endif
|
|
|
|
|
| -void OS::PostSetUp() {
|
| +void OS::PostSetUp(bool serializer_enabled) {
|
| #if V8_TARGET_ARCH_IA32
|
| OS::MemMoveFunction generated_memmove = CreateMemMoveFunction();
|
| if (generated_memmove != NULL) {
|
| @@ -557,12 +559,12 @@ void OS::PostSetUp() {
|
| }
|
| #elif defined(V8_HOST_ARCH_ARM)
|
| OS::memcopy_uint8_function =
|
| - CreateMemCopyUint8Function(&OS::MemCopyUint8Wrapper);
|
| + CreateMemCopyUint8Function(serializer_enabled, &OS::MemCopyUint8Wrapper);
|
| OS::memcopy_uint16_uint8_function =
|
| CreateMemCopyUint16Uint8Function(&OS::MemCopyUint16Uint8Wrapper);
|
| #elif defined(V8_HOST_ARCH_MIPS)
|
| OS::memcopy_uint8_function =
|
| - CreateMemCopyUint8Function(&OS::MemCopyUint8Wrapper);
|
| + CreateMemCopyUint8Function(serializer_enabled, &OS::MemCopyUint8Wrapper);
|
| #endif
|
| // fast_exp is initialized lazily.
|
| init_fast_sqrt_function();
|
|
|