OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7539b8
)
Fix braino in enum use.
author
Nicolas Geoffray
<ngeoffray@google.com>
Wed, 10 May 2017 11:04:49 +0000
(12:04 +0100)
committer
Nicolas Geoffray
<ngeoffray@google.com>
Wed, 10 May 2017 13:57:28 +0000
(14:57 +0100)
bug:
37655083
Test: jdwp
(cherry picked from commit
81cc43e7d3c4dcd197b3d3a0fa9d1a3be9413367
)
Change-Id: I566cc66efc6e1377c53650bfca9e4ffa2ffcb533
runtime/runtime.h
patch
|
blob
|
history
diff --git
a/runtime/runtime.h
b/runtime/runtime.h
index
057dc6c
..
c1eeea4
100644
(file)
--- a/
runtime/runtime.h
+++ b/
runtime/runtime.h
@@
-947,7
+947,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);
};