Index: src/x64/cpu-x64.cc |
diff --git a/src/x64/cpu-x64.cc b/src/x64/cpu-x64.cc |
index b49fb1c4f0fcd02d93e57dfc18d9413db4eec0e9..e5e0a375142ab26538b012f7c6f29e397bb4c143 100644 |
--- a/src/x64/cpu-x64.cc |
+++ b/src/x64/cpu-x64.cc |
@@ -42,10 +42,12 @@ namespace v8 { |
namespace internal { |
void CPU::Setup() { |
- Isolate::Current()->cpu_features()->Probe(true); |
- if (Serializer::enabled()) { |
- V8::DisableCrankshaft(); |
- } |
+ CpuFeatures::Probe(true); |
+} |
+ |
+ |
+bool CPU::SupportsCrankshaft() { |
+ return true; // Yay! |
} |