commit | b91f9c154a816620f01206e119f036d9d28ce683 | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Tue Dec 19 15:01:28 2017 -0800 |
committer | Hans Boehm <hboehm@google.com> | Wed Dec 20 12:28:16 2017 -0800 |
tree | a63aca252021ddcfa218dc768c6ebe59412cc4f7 | |
parent | ffc3be6b4a58c1ed172a5c890f8b8583a416998f [diff] |
Make GetState() handle overflowed state and 0 path to root Fix GetState() so that it deals correctly with an overflowed state in which the path to root is entirely zero. We don't try to salvage the DCHECK for now. Fix the stated invariants to be more consistent with the code. Bug: 69564627 Test: AOSP builds & runs. Host tests pass. Change-Id: Idd975f03d4292e4fc52ad7714bbb2b1b98e17f96