diff options
author | Vladimir Marko <vmarko@google.com> | 2021-03-16 16:09:30 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2021-03-17 12:12:27 +0000 |
commit | 375257870bae0f9fc66f99b69a2b1e519c170c1c (patch) | |
tree | 588b82bed0c83fdd65bef0fb86fd729a7f2c3977 /test/ProfileTestMultiDex/Main.java | |
parent | d1c8aaedf0eb3982f7e969ab66a2c391dbfd6929 (diff) |
Clean up OatHeader::GetStoreValueKey*().
Replace helper function ParseString() with calls to memchr()
and make the OatHeader::GetStoreValueKey*() more readable.
This also avoids using a pointer to `end + 1` when we fail
to find the end of the value (this was benign as that `+1`
should not cause arithmetic overflow anyway).
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I2fa9043f42048689a64fba3ab1fc3845f4684544
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions