commit | 51db2c217052fd6881b81f3ac5162fe88c36dbf0 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Aug 13 20:55:31 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Aug 13 21:29:48 2015 -0700 |
tree | 14d724a828b5ba00889160c2b42095273b7d593c | |
parent | 060841a3966afc7a5251134d1f1ef100849b1468 [diff] |
ART: DCHECK zero case for CLZ/CTZ Add a DCHECK_CONSTEXPR. All current callers have an explicit zero check before hand and so we should not trip this at the moment. Remove the TODO. Add the check for T being unsigned for CLZ (trivial fix for leb128.h). We use CTZ with signed types. Change-Id: I7bbf0b1699eed21715c6cc20dbfe22b7da403b1a