diff options
author | marcel <marcel@FreeBSD.org> | 2012-12-01 17:50:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-12-01 17:50:39 +0000 |
commit | e0cbca43aafc47c5c47db73820ede29110da0d0d (patch) | |
tree | 7f798b2ef53898e390e710b9493d4e7ad7a44ca8 /contrib/llvm/lib/Support/FoldingSet.cpp | |
parent | 5192abbac636f4d423299ad2010b603072124621 (diff) | |
download | FreeBSD-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