diff options
author | Jan Voung <jvoung@chromium.org> | 2013-04-29 15:52:38 -0700 |
---|---|---|
committer | Jan Voung <jvoung@chromium.org> | 2013-04-29 15:52:38 -0700 |
commit | 1174111b6f8ab1b95085aeb9c3c451e155a27642 (patch) | |
tree | 7bc2b5f216e8722d216594fb3ec2ad996c17835a /lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp | |
parent | 9986176a70307f63f089d1bc79284ccb8f19d6cb (diff) |
Use unique'ed types for varargs expansion instead of non-unique named types.
Saves a tiny bit of space for var-args heavy bitcode
programs, since the anonymous types get unique'ed. E.g.,
saves 20KB out of 1.6MB in spec gcc when comparing the
gzipped files, or about 100KB when not zipped. This is only
a savings with the current wire format. If we change the
alloca, etc. to only have sizes and not struct types
then we would also not have this duplication.
Just happened to notice while looking through code for
what struct types remain used in the bitcode.
random cleanup for:
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3338
R=mseaborn@chromium.org
Review URL: https://codereview.chromium.org/14197004
Diffstat (limited to 'lib/Bitcode/NaCl/Reader/NaClBitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions