commit | 43252d01799a9a7307a74ce73ea3e0ab748734cf | [log] [tgz] |
---|---|---|
author | Dehao Chen <dehao@google.com> | Tue Nov 08 16:32:32 2016 +0000 |
committer | Dehao Chen <dehao@google.com> | Tue Nov 08 16:32:32 2016 +0000 |
tree | d77cfdf8a71878419e69e16bf3ba3f925c2cfe06 | |
parent | 38950e511201b1237aab78eafdf605a2cac2ec49 [diff] |
Use the last 7 bits to represent the discriminator to fit it in 1 byte ULEB128 (NFC). From experiments, discriminator is rarely greater than 127. Here we enforce it to be no greater than 127 so that it will always fit in 1 byte. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286245 91177308-0d34-0410-b5e6-96231b3b80d8