| Index: src/ia32/assembler-ia32.h
|
| ===================================================================
|
| --- src/ia32/assembler-ia32.h (revision 9202)
|
| +++ src/ia32/assembler-ia32.h (working copy)
|
| @@ -465,6 +465,7 @@
|
| // Enable a specified feature within a scope.
|
| class Scope BASE_EMBEDDED {
|
| #ifdef DEBUG
|
| +
|
| public:
|
| explicit Scope(CpuFeature f) {
|
| uint64_t mask = static_cast<uint64_t>(1) << f;
|
| @@ -484,10 +485,12 @@
|
| isolate_->set_enabled_cpu_features(old_enabled_);
|
| }
|
| }
|
| +
|
| private:
|
| Isolate* isolate_;
|
| uint64_t old_enabled_;
|
| #else
|
| +
|
| public:
|
| explicit Scope(CpuFeature f) {}
|
| #endif
|
|
|