summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 01:02:18 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-08-17 01:02:18 +0000
commit6331dc171c9f91876c28acf0a2396af1b2e9bd2f (patch)
tree650cd13c6e0aaf914248401654e67457d74cdc3d /llvm/lib/Transforms
parentec083b59edf0cbf0855527c753d9053bcdba33da (diff)
downloadbcm5719-llvm-6331dc171c9f91876c28acf0a2396af1b2e9bd2f.tar.gz
bcm5719-llvm-6331dc171c9f91876c28acf0a2396af1b2e9bd2f.zip
ObjCARC: Don't increment or dereference end() when scanning args
When there's only one argument and it doesn't match one of the known functions, return ARCInstKind::CallOrUser rather than falling through to the two argument case. The old behaviour both incremented past and dereferenced end(). llvm-svn: 278881
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud