diff options
| author | 2018-05-29 12:31:20 +0000 | |
|---|---|---|
| committer | 2018-05-29 12:31:20 +0000 | |
| commit | c8e213275671240c4fc7299f918d6d07c3c12eb1 (patch) | |
| tree | 0d66f2d47b05376a3a5ffeb9c343892ec5a35f48 /runtime/quick_exception_handler.cc | |
| parent | 4eb6fa0e22cc90419bb099f676fdd413e2c9b94e (diff) | |
| parent | ffaf87a429766ed80e6afee5bebea93db539620b (diff) | |
Merge "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 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; |