Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index da2db62684331e60f06070fbccce74f5d2d388f8..359408a2f9bce4176fabd1c3f5ca19b834f039c4 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -52,13 +52,13 @@ ExternalReference ExternalReference::cpu_features() { |
} |
-void CpuFeatures::Probe() { |
+void CpuFeatures::Probe(bool serializer_enabled) { |
ASSERT(supported_ == CpuFeatures::kDefaultCpuFeatures); |
#ifdef DEBUG |
initialized_ = true; |
#endif |
supported_ = kDefaultCpuFeatures; |
- if (Serializer::enabled()) { |
+ if (serializer_enabled) { |
supported_ |= OS::CpuFeaturesImpliedByPlatform(); |
return; // No features if we might serialize. |
} |