Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 7ac14e382a525fbb02f2963b0fd54c145cf9829a..a8e38777bf5a79e44ff7be34e2d328d94d7095f3 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -79,14 +79,11 @@ UnaryMathFunction CreateExpFunction() { |
#if defined(V8_HOST_ARCH_ARM) |
OS::MemCopyUint8Function CreateMemCopyUint8Function( |
- bool serializer_enabled, |
OS::MemCopyUint8Function stub) { |
#if defined(USE_SIMULATOR) |
return stub; |
#else |
- if (serializer_enabled || !CpuFeatures::IsSupported(UNALIGNED_ACCESSES)) { |
- return stub; |
- } |
+ if (!CpuFeatures::IsSupported(UNALIGNED_ACCESSES)) return stub; |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB, &actual_size, true)); |
if (buffer == NULL) return stub; |
@@ -238,14 +235,11 @@ OS::MemCopyUint8Function CreateMemCopyUint8Function( |
// Convert 8 to 16. The number of character to copy must be at least 8. |
OS::MemCopyUint16Uint8Function CreateMemCopyUint16Uint8Function( |
- bool serializer_enabled, |
OS::MemCopyUint16Uint8Function stub) { |
#if defined(USE_SIMULATOR) |
return stub; |
#else |
- if (serializer_enabled || !CpuFeatures::IsSupported(UNALIGNED_ACCESSES)) { |
- return stub; |
- } |
+ if (!CpuFeatures::IsSupported(UNALIGNED_ACCESSES)) return stub; |
size_t actual_size; |
byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB, &actual_size, true)); |
if (buffer == NULL) return stub; |