diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-16 01:54:34 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-16 01:54:34 +0000 |
commit | 1318364e3e95a0df24c607b478fab7034580618c (patch) | |
tree | ccf90d57465af0d335b777509a66e0ca1442cbfa /clang/lib/Serialization/ASTWriter.cpp | |
parent | 0c39d40c8b1e3ef028b4082593896e24633a66d7 (diff) | |
download | bcm5719-llvm-1318364e3e95a0df24c607b478fab7034580618c.tar.gz bcm5719-llvm-1318364e3e95a0df24c607b478fab7034580618c.zip |
UseListOrder: Correctly count the number of uses
This is an off-by-one bug I found by inspection, which would only
trigger if the bitcode writer sees more uses of a `Value` than the
reader. Since this is only relevant when an instruction gets upgraded
somehow, there unfortunately isn't a reasonable way to add test
coverage.
llvm-svn: 215804
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions