]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - assembler/MacroAssemblerARM.cpp
JavaScriptCore-903.tar.gz
[apple/javascriptcore.git] / assembler / MacroAssemblerARM.cpp
index b5b20fa07d220f630746b93f396ea18d559e3d28..2db5df1f87148f365ee62a308202a91d672a353e 100644 (file)
@@ -57,7 +57,11 @@ static bool isVFPPresent()
     }
 #endif
 
+#if (COMPILER(RVCT) && defined(__TARGET_FPU_VFP)) || (COMPILER(GCC) && defined(__VFP_FP__))
+    return true;
+#else
     return false;
+#endif
 }
 
 const bool MacroAssemblerARM::s_isVFPPresent = isVFPPresent();