summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-05-30 16:21:15 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-05-30 16:21:15 +0000
commit08231f6cb3095a7dbde29299a7da5413a5f992e4 (patch)
treed7cc4595bd633b3f5e7ade454d405a57468f3e77 /runtime/quick_exception_handler.cc
parent750cf88c8872983ae13259131cb2ed377e3eadff (diff)
parent4b59d107f91601c4e0095d7a9db40970d4ed6956 (diff)
Merge "Revert^2 "Optimize register mask and stack mask in stack maps.""
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 de613d3b20..26489209b8 100644
--- a/runtime/quick_exception_handler.cc
+++ b/runtime/quick_exception_handler.cc
@@ -439,7 +439,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 < code_info.GetNumberOfStackMaskBits() && stack_mask.LoadBit(bit)) {
+ if (bit < stack_mask.size_in_bits() && stack_mask.LoadBit(bit)) {
is_reference = true;
}
break;