| Index: src/arm/assembler-arm.h
|
| ===================================================================
|
| --- src/arm/assembler-arm.h (revision 11193)
|
| +++ src/arm/assembler-arm.h (working copy)
|
| @@ -510,7 +510,7 @@
|
| static bool IsSupported(CpuFeature f) {
|
| ASSERT(initialized_);
|
| if (f == VFP3 && !FLAG_enable_vfp3) return false;
|
| - return (supported_ & (1u << f)) != 0;
|
| + return (supported_ & (static_cast<uint64_t>(1u) << f)) != 0;
|
| }
|
|
|
| #ifdef DEBUG
|
| @@ -567,7 +567,7 @@
|
| explicit TryForceFeatureScope(CpuFeature f)
|
| : old_supported_(CpuFeatures::supported_) {
|
| if (CanForce()) {
|
| - CpuFeatures::supported_ |= (1u << f);
|
| + CpuFeatures::supported_ |= (static_cast<uint64_t>(1u) << f);
|
| }
|
| }
|
|
|
| @@ -585,15 +585,15 @@
|
| return Serializer::enabled();
|
| }
|
|
|
| - const unsigned old_supported_;
|
| + const uint64_t old_supported_;
|
| };
|
|
|
| private:
|
| #ifdef DEBUG
|
| static bool initialized_;
|
| #endif
|
| - static unsigned supported_;
|
| - static unsigned found_by_runtime_probing_;
|
| + static uint64_t supported_;
|
| + static uint64_t found_by_runtime_probing_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
|
| };
|
|
|