summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-02-08 21:29:24 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-02-08 21:29:25 +0000
commitef0a38085c4b5a22f866e771c33c6535e472795d (patch)
tree6a7e7cc3eb24a3cef927591230703b0ab2bd2485 /runtime/quick_exception_handler.cc
parent1ce5909dfc6302f081cad3f68eb40e3d86974c13 (diff)
parent575d3e60c68b5cf481b615dde4a16283507b19ed (diff)
Merge "Clean up code info table layout"
Diffstat (limited to 'runtime/quick_exception_handler.cc')
-rw-r--r--runtime/quick_exception_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc
index bf995095de..72e0500457 100644
--- a/runtime/quick_exception_handler.cc
+++ b/runtime/quick_exception_handler.cc
@@ -441,7 +441,7 @@ class DeoptimizeStackVisitor FINAL : public StackVisitor {
const uint8_t* addr = reinterpret_cast<const uint8_t*>(GetCurrentQuickFrame()) + offset;
value = *reinterpret_cast<const uint32_t*>(addr);
uint32_t bit = (offset >> 2);
- if (bit < encoding.stack_mask_size_in_bits && stack_mask.LoadBit(bit)) {
+ if (bit < encoding.stack_mask.encoding.BitSize() && stack_mask.LoadBit(bit)) {
is_reference = true;
}
break;