Index: src/arm/codegen-arm.cc |
diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc |
index 57fe24b37518153d1523a16e8cbd3bacc236c233..09166c3c014eaef0b30adecb948c2c66639662ec 100644 |
--- a/src/arm/codegen-arm.cc |
+++ b/src/arm/codegen-arm.cc |
@@ -107,7 +107,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
// -- r4 : scratch (elements) |
// ----------------------------------- |
Label loop, entry, convert_hole, gc_required, only_change_map, done; |
- bool vfp3_supported = CpuFeatures::IsSupported(VFP3); |
+ bool vfp2_supported = CpuFeatures::IsSupported(VFP2); |
// Check for empty arrays, which only require a map transition and no changes |
// to the backing store. |
@@ -182,7 +182,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
// r5: kHoleNanUpper32 |
// r6: end of destination FixedDoubleArray, not tagged |
// r7: begin of FixedDoubleArray element fields, not tagged |
- if (!vfp3_supported) __ Push(r1, r0); |
+ if (!vfp2_supported) __ Push(r1, r0); |
__ b(&entry); |
@@ -210,8 +210,8 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
__ UntagAndJumpIfNotSmi(r9, r9, &convert_hole); |
// Normal smi, convert to double and store. |
- if (vfp3_supported) { |
- CpuFeatures::Scope scope(VFP3); |
+ if (vfp2_supported) { |
+ CpuFeatures::Scope scope(VFP2); |
__ vmov(s0, r9); |
__ vcvt_f64_s32(d0, s0); |
__ vstr(d0, r7, 0); |
@@ -244,7 +244,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble( |
__ cmp(r7, r6); |
__ b(lt, &loop); |
- if (!vfp3_supported) __ Pop(r1, r0); |
+ if (!vfp2_supported) __ Pop(r1, r0); |
__ pop(lr); |
__ bind(&done); |
} |