Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 18b4a43d44e8c83d24e717c69295d8de5da3ce48..a08673d4620243d1e4c598e787f1517b0a629dd5 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -3378,17 +3378,7 @@ void MacroAssembler::CopyBytes(Register src, |
cmp(length, Operand(kPointerSize)); |
b(lt, &byte_loop); |
ldr(scratch, MemOperand(src, kPointerSize, PostIndex)); |
- if (CpuFeatures::IsSupported(UNALIGNED_ACCESSES)) { |
- str(scratch, MemOperand(dst, kPointerSize, PostIndex)); |
- } else { |
- strb(scratch, MemOperand(dst, 1, PostIndex)); |
- mov(scratch, Operand(scratch, LSR, 8)); |
- strb(scratch, MemOperand(dst, 1, PostIndex)); |
- mov(scratch, Operand(scratch, LSR, 8)); |
- strb(scratch, MemOperand(dst, 1, PostIndex)); |
- mov(scratch, Operand(scratch, LSR, 8)); |
- strb(scratch, MemOperand(dst, 1, PostIndex)); |
- } |
+ str(scratch, MemOperand(dst, kPointerSize, PostIndex)); |
sub(length, length, Operand(kPointerSize)); |
b(&word_loop); |