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