Skip to content
Commit 5e39cf9f authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent e008a4b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment