| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index c235a4d2b5d7df0f018c62cf86bba7472dd4b63a..1177181bde85c6aca14b4c65988bd9ae01826f3a 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -413,32 +413,6 @@ class CpuFeatures : public AllStatic {
|
| (static_cast<uint64_t>(1) << f)) != 0;
|
| }
|
|
|
| - class TryForceFeatureScope BASE_EMBEDDED {
|
| - public:
|
| - explicit TryForceFeatureScope(CpuFeature f)
|
| - : old_supported_(CpuFeatures::supported_) {
|
| - if (CanForce()) {
|
| - CpuFeatures::supported_ |= (1u << f);
|
| - }
|
| - }
|
| -
|
| - ~TryForceFeatureScope() {
|
| - if (CanForce()) {
|
| - CpuFeatures::supported_ = old_supported_;
|
| - }
|
| - }
|
| -
|
| - private:
|
| - static bool CanForce() {
|
| - // It's only safe to temporarily force support of CPU features
|
| - // when there's only a single isolate, which is guaranteed when
|
| - // the serializer is enabled.
|
| - return Serializer::enabled();
|
| - }
|
| -
|
| - const unsigned old_supported_;
|
| - };
|
| -
|
| private:
|
| #ifdef DEBUG
|
| static bool initialized_;
|
|
|