summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/FoldingSet.cpp
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2012-12-01 17:50:39 +0000
committermarcel <marcel@FreeBSD.org>2012-12-01 17:50:39 +0000
commite0cbca43aafc47c5c47db73820ede29110da0d0d (patch)
tree7f798b2ef53898e390e710b9493d4e7ad7a44ca8 /contrib/llvm/lib/Support/FoldingSet.cpp
parent5192abbac636f4d423299ad2010b603072124621 (diff)
downloadFreeBSD-src-e0cbca43aafc47c5c47db73820ede29110da0d0d.zip
FreeBSD-src-e0cbca43aafc47c5c47db73820ede29110da0d0d.tar.gz
In globextend(), take advantage of the fact that realloc(NULL, size) is
equivalent to malloc(size). This eliminates the conditional expression used for calling either realloc() or malloc() when realloc() will do all the time.
Diffstat (limited to 'contrib/llvm/lib/Support/FoldingSet.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud