| Index: src/arm/assembler-arm.h
|
| diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
|
| index f64cc5c0b3e8993bb08c8d5a5d8bdfcc000a7fe5..df22a20fc165833e50300227a52f3da52ddca3b8 100644
|
| --- a/src/arm/assembler-arm.h
|
| +++ b/src/arm/assembler-arm.h
|
| @@ -56,12 +56,7 @@ 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();
|
| -
|
| - // A special case for printing target and features, which we want to do
|
| - // before initializing the isolate
|
| - static void SetHintCreatingSnapshot();
|
| - static void ProbeWithoutIsolate();
|
| + static void Probe(bool serializer_enabled);
|
|
|
| // Display target use when compiling.
|
| static void PrintTarget();
|
| @@ -98,10 +93,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(VFP3); }
|
|
|
| + private:
|
| static bool Check(CpuFeature f, unsigned set) {
|
| return (set & flag2set(f)) != 0;
|
| }
|
|
|