summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-01-27 23:31:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-01-27 23:32:00 +0000
commita0305a27fc2da2bff16415e2edf733db2adf202f (patch)
tree1e928db8f1853838753a18c40327dd5574ecdcb2 /runtime/quick_exception_handler.cc
parentde09f06e243f9548e58feec79b0cd249065a5f28 (diff)
parent12f1b99775bbf7dd82d0a897587ab6ed0e75ee22 (diff)
Merge "Remove alignment bits in between 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 b809c3eb56..8d758a4a4b 100644
--- a/runtime/quick_exception_handler.cc
+++ b/runtime/quick_exception_handler.cc
@@ -438,7 +438,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 (stack_map.GetNumberOfStackMaskBits(encoding.stack_map_encoding) > bit &&
+ if (code_info.GetNumberOfStackMaskBits(encoding) > bit &&
stack_map.GetStackMaskBit(encoding.stack_map_encoding, bit)) {
is_reference = true;
}