summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-04-05 15:45:27 +0000
committer Mythri Alle <mythria@google.com> 2024-04-08 11:01:42 +0000
commitcfff041514b432f245907d0d1e0c10948759ffc9 (patch)
tree1517ab378ca25ed84db3c71ba6841cb849ecf9ad /test/ProfileTestMultiDex
parent367cf319d5c9100b7d62ec7f083ad564b8711675 (diff)
Update the code to sign extend the result after decoding from leb128
We used to use a workaround to sign extend since right shift had undefined behaviour in older versions of c++. Starting c++ 20 the behaviour is well defined and should be safe to use it for sign extensions. This makes the code more readable and generates one less assembly instruction. Bug: 259258187 Test: art/test.py Change-Id: Icc3e6296e9320c3ddd9ec1096484f8c659d90772
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions