| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index e4729b2dd428a239670aaa317d7ccc2f37e8239a..8c186c14b0d7258175c35ff611b476d19f121925 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -425,12 +425,10 @@ class CpuFeatures : public AllStatic {
|
| public:
|
| // Detect features of the target CPU. Set safe defaults if the serializer
|
| // is enabled (snapshots must be portable).
|
| - static void Probe();
|
| + static void Probe(bool serializer_enabled);
|
|
|
| // A special case for printing target and features, which we want to do
|
| // before initializing the isolate
|
| - static void SetHintCreatingSnapshot();
|
| - static void ProbeWithoutIsolate();
|
|
|
| // Check whether a feature is supported by the target CPU.
|
| static bool IsSupported(CpuFeature f) {
|
| @@ -459,10 +457,9 @@ class CpuFeatures : public AllStatic {
|
| (cross_compile_ & mask) == mask;
|
| }
|
|
|
| - private:
|
| - static void Probe(bool serializer_enabled);
|
| - static bool hint_creating_snapshot_;
|
| + static bool SupportsCrankshaft() { return CpuFeatures::IsSupported(FPU); }
|
|
|
| + private:
|
| static bool Check(CpuFeature f, unsigned set) {
|
| return (set & flag2set(f)) != 0;
|
| }
|
|
|