diff options
| author | 2017-05-10 13:03:06 +0000 | |
|---|---|---|
| committer | 2017-05-10 13:03:07 +0000 | |
| commit | 201c81947f23b3f43c2ff78d9c1078dd53157fe5 (patch) | |
| tree | f4bbe15fca8e33ce89b3ffd19760bf0b7c59c50a | |
| parent | e6cf6204eff91e50d600d5c3c83e424ecab526b7 (diff) | |
| parent | 81cc43e7d3c4dcd197b3d3a0fa9d1a3be9413367 (diff) | |
Merge "Fix braino in enum use."
| -rw-r--r-- | runtime/runtime.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index a2505e2292..8d047770ae 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -948,7 +948,8 @@ class Runtime { std::unique_ptr<RuntimeCallbacks> callbacks_; - std::atomic<uint32_t> deoptimization_counts_[static_cast<uint32_t>(DeoptimizationKind::kLast)]; + std::atomic<uint32_t> deoptimization_counts_[ + static_cast<uint32_t>(DeoptimizationKind::kLast) + 1]; DISALLOW_COPY_AND_ASSIGN(Runtime); }; |