diff options
| author | 2018-05-29 17:12:33 +0000 | |
|---|---|---|
| committer | 2018-05-29 17:12:33 +0000 | |
| commit | 010b10e7ab1b6f5a736bf500acc16d2c7067f8af (patch) | |
| tree | 31007a7018054f2f7c1541f91ffda5d57daf8e3e /runtime/quick_exception_handler.cc | |
| parent | 267c83529850f51cd690b3e31882aaae98601afd (diff) | |
| parent | 8b20b5c1f5b454b2f8b8bff492c88724b5002600 (diff) | |
Merge "Revert "Optimize register mask and stack mask in stack maps.""
Diffstat (limited to 'runtime/quick_exception_handler.cc')
| -rw-r--r-- | runtime/quick_exception_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index 26489209b8..de613d3b20 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 < stack_mask.size_in_bits() && stack_mask.LoadBit(bit)) { + if (bit < code_info.GetNumberOfStackMaskBits() && stack_mask.LoadBit(bit)) { is_reference = true; } break; |