aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorKarl Schimpf <kschimpf@google.com>2013-05-20 16:05:30 -0700
committerKarl Schimpf <kschimpf@google.com>2013-05-20 16:05:30 -0700
commit1046c286a37c082562a348eb6521c71ca0b3ff75 (patch)
tree52af4ee1382d692f8bc2c07dc59b772100ee7fa7 /lib/Bitcode/Reader/BitReader.cpp
parentdf0f355cb3e96368db367b9edb9bb851cffacbcc (diff)
Create type IDs based on reference counts.
Create type IDs based on number of references, rather than first reached. This is done so that fewer bits are used to encode types that are commonly used. Note that this cuts the size of the generate bitcode file by about 1.5%, with no effect on the reader, since it only changes the order type ID's are created. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3405 R=jvoung@chromium.org Review URL: https://codereview.chromium.org/14495008
Diffstat (limited to 'lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions