summaryrefslogtreecommitdiff
path: root/runtime/class_linker-inl.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-10-04 16:31:53 +0100
committer Vladimir Marko <vmarko@google.com> 2021-10-05 11:50:36 +0000
commit520c9b7649cdfcc12e1df414055c383335f54b69 (patch)
tree4549853d6508804f86763418d51778351eb0ab74 /runtime/class_linker-inl.h
parentf9795d1ebd30105a91089815068b512ff63b8ae5 (diff)
verifier: Clean up `RegisterLine::SetRegisterType*()`.
In `RegisterLine::SetRegisterTypeWide()`, replace the pair check with a DCHECK() as all callers pass valid pairs. In `RegisterLine::SetRegisterType()`, the non-pair check was needed only by a single caller (the only one that checked the return value), so move the check to that caller and use a DCHECK() instead. Remove the now unnecessary `verifier` argument from these two functions and change return type to `void`. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 28313047 Change-Id: Iabeb6fdb61d3bf2713bf7c5a72288fff54a35754
Diffstat (limited to 'runtime/class_linker-inl.h')
0 files changed, 0 insertions, 0 deletions