Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 75801454e8165f998db0e5f28fc6ae6d00d0fdae..e63da5c766c8f87c4c828b87c2cb9ff5ec46fec5 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -39,6 +39,7 @@ MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate, |
Label less_4; |
if (CpuFeatures::IsSupported(NEON)) { |
+ CpuFeatureScope scope(&masm, NEON); |
Label loop, less_256, less_128, less_64, less_32, _16_or_less, _8_or_less; |
Label size_less_than_8; |
__ pld(MemOperand(src, 0)); |
@@ -193,6 +194,7 @@ MemCopyUint16Uint8Function CreateMemCopyUint16Uint8Function( |
Register src = r1; |
Register chars = r2; |
if (CpuFeatures::IsSupported(NEON)) { |
+ CpuFeatureScope scope(&masm, NEON); |
Register temp = r3; |
Label loop; |