Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 005c78d5d8f6aef5760a98c160bbd37984819ce4..7c80b09119fe94ea4f1e247946ac69f4aabf444e 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -512,6 +512,9 @@ class CpuFeatures : public AllStatic { |
if (f == VFP3 && !FLAG_enable_vfp3) return false; |
if (f == VFP2 && !FLAG_enable_vfp2) return false; |
if (f == SUDIV && !FLAG_enable_sudiv) return false; |
+ if (f == UNALIGNED_ACCESSES && !FLAG_enable_unaligned_accesses) { |
+ return false; |
+ } |
return (supported_ & (1u << f)) != 0; |
} |