diff options
author | Karl Schimpf <kschimpf@google.com> | 2013-11-21 09:55:24 -0800 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2013-11-21 09:55:24 -0800 |
commit | 86ff10150d76fa0db431a7c1c6db280f75977f35 (patch) | |
tree | 9b95bd2915efc70b265bdbc60010d8ef3acd98b5 /lib/Transforms/Utils/CodeExtractor.cpp | |
parent | 757414ba931360b0c65851c2583e511d67948d91 (diff) |
Fixes the modeling of type ids within PNaCl bitcode files.
The code previously was very inconsisted in modeling the number of
bits needed for type ids within abbreviations. Frequently, the
number of bits used was based on the total number of types. This
is a bad choice in that this includes all function types, even though
most cases do not use these types. This patch makes the selection
more consistent.
Also removing TYPE_CODE_ARRAY, since it is not allowed.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3720
R=jvoung@chromium.org
Review URL: https://codereview.chromium.org/68503018
Diffstat (limited to 'lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions