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