Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 1bbc995a03a63b0ddda5ec6aaee74f02c4623525..685d46c094aae9f01b905ed32757d65168ca99d5 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -463,15 +463,11 @@ class CpuFeatures : public AllStatic { |
return Check(f, supported_); |
} |
- static bool IsFoundByRuntimeProbingOnly(CpuFeature f) { |
- ASSERT(initialized_); |
- return Check(f, found_by_runtime_probing_only_); |
- } |
- |
static bool IsSafeForSnapshot(Isolate* isolate, CpuFeature f) { |
return Check(f, cross_compile_) || |
(IsSupported(f) && |
- (!Serializer::enabled(isolate) || !IsFoundByRuntimeProbingOnly(f))); |
+ !(Serializer::enabled(isolate) && |
+ Check(f, found_by_runtime_probing_only_))); |
} |
static bool VerifyCrossCompiling() { |