summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Annotation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-26 05:00:15 +0000
committerChris Lattner <sabre@nondot.org>2004-02-26 05:00:15 +0000
commit5e39cf9fbd1bf4af58e63a95f475122dd5100c07 (patch)
treef8279fdcd8ca6f2275bef46d35309d00a5aa5fa7 /llvm/lib/Support/Annotation.cpp
parente008a4b28f0e73daf88fd07315cecfe34a07d73a (diff)
downloadbcm5719-llvm-5e39cf9fbd1bf4af58e63a95f475122dd5100c07.tar.gz
bcm5719-llvm-5e39cf9fbd1bf4af58e63a95f475122dd5100c07.zip
Fix a bug in the densemap that was killing the local allocator, and probably
other clients. The problem is that the nullVal member was left to the default constructor to initialize, which for int's does nothing (ie, leaves it unspecified). To get a zero value, we must use T(). It's C++ wonderful? :) llvm-svn: 11867
Diffstat (limited to 'llvm/lib/Support/Annotation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud