Index: src/arm/cpu-arm.cc |
diff --git a/src/arm/cpu-arm.cc b/src/arm/cpu-arm.cc |
index 0f5bf56b54dd3b05b0338d2f31ddbfd7c40a1c3c..04162614db402e40c4e28b8d4b9383450826c8f1 100644 |
--- a/src/arm/cpu-arm.cc |
+++ b/src/arm/cpu-arm.cc |
@@ -42,11 +42,12 @@ namespace v8 { |
namespace internal { |
void CPU::Setup() { |
- CpuFeatures* cpu_features = Isolate::Current()->cpu_features(); |
- cpu_features->Probe(true); |
- if (!cpu_features->IsSupported(VFP3) || Serializer::enabled()) { |
- V8::DisableCrankshaft(); |
- } |
+ CpuFeatures::Probe(true); |
+} |
+ |
+ |
+bool CPU::SupportsCrankshaft() { |
+ return CpuFeatures::IsSupported(VFP3); |
} |