Index: src/mips/assembler-mips.h |
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h |
index 1177181bde85c6aca14b4c65988bd9ae01826f3a..e6c9e76c7802c2477a1e13854ba967419790eca2 100644 |
--- a/src/mips/assembler-mips.h |
+++ b/src/mips/assembler-mips.h |
@@ -413,6 +413,11 @@ class CpuFeatures : public AllStatic { |
(static_cast<uint64_t>(1) << f)) != 0; |
} |
+ static bool IsSafeForSnapshot(CpuFeature f) { |
+ return (IsSupported(f) && |
+ (!Serializer::enabled() || !IsFoundByRuntimeProbingOnly(f))); |
+ } |
+ |
private: |
#ifdef DEBUG |
static bool initialized_; |