Index: runtime/vm/cpu_arm.h |
=================================================================== |
--- runtime/vm/cpu_arm.h (revision 36331) |
+++ runtime/vm/cpu_arm.h (working copy) |
@@ -45,6 +45,10 @@ |
DEBUG_ASSERT(initialized_); |
return neon_supported_; |
} |
+ static bool hardfp_supported() { |
+ DEBUG_ASSERT(initialized_); |
+ return hardfp_supported_; |
+ } |
static ARMVersion arm_version() { |
DEBUG_ASSERT(initialized_); |
return arm_version_; |
@@ -74,6 +78,7 @@ |
static bool integer_division_supported_; |
static bool vfp_supported_; |
static bool neon_supported_; |
+ static bool hardfp_supported_; |
static ARMVersion arm_version_; |
#if defined(DEBUG) |
static bool initialized_; |
@@ -100,6 +105,9 @@ |
static bool neon_supported() { |
return HostCPUFeatures::neon_supported(); |
} |
+ static bool hardfp_supported() { |
+ return HostCPUFeatures::hardfp_supported(); |
+ } |
static const char* hardware() { |
return HostCPUFeatures::hardware(); |
} |