commit | 26095cda197448071fbbc6af126363de1b4e8b4c | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Mar 30 15:46:27 2021 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Wed Mar 31 08:28:27 2021 +0000 |
tree | 373baf81b785abbf4654615ff61d3539de170174 | |
parent | 66ab9d6fb28398d7f59a3102ad322aaf06a5c5c2 [diff] |
Small cleanup in ProfileCompilationInfo. Move DeflateBuffer/InflateBuffer to an anonymous namespace and improve error checking. Move SafeBuffer definition to the .cc file and make member functions inline. Add DCHECK()s and change some comparisons to eliminate potential arithmetic overflow errors. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I9ca0e8d5c5d8e1393151c48f690cba02f34d4e61