Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index deef28b1f39177231cca700693a1690c732b37c8..458930b547485e63b2887b61bfdba12de2cdebbe 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -191,11 +191,9 @@ CpuFeatureScope::CpuFeatureScope(AssemblerBase* assembler, CpuFeature f) |
uint64_t mask = static_cast<uint64_t>(1) << f; |
// TODO(svenpanne) This special case below doesn't belong here! |
#if V8_TARGET_ARCH_ARM |
- // VFP2 and ARMv7 are implied by VFP3. |
+ // ARMv7 is implied by VFP3. |
if (f == VFP3) { |
- mask |= |
- static_cast<uint64_t>(1) << VFP2 | |
- static_cast<uint64_t>(1) << ARMv7; |
+ mask |= static_cast<uint64_t>(1) << ARMv7; |
} |
#endif |
assembler_->set_enabled_cpu_features(old_enabled_ | mask); |