Simplify the locking on the Constants tables, and make it more efficient, by pushing...
authorOwen Anderson <resistor@mac.com>
Wed, 17 Jun 2009 20:10:08 +0000 (20:10 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 17 Jun 2009 20:10:08 +0000 (20:10 +0000)
commit31c36f02f26def914727a521e7ca5fad450920ca
tree02fe89c282579ed8d22d19aa9a44286243251488
parent4306b1a329cbaf1e866bead2cd6042859a808c8a
Simplify the locking on the Constants tables, and make it more efficient, by pushing it into the ValueMap from the callers.
Document those ValueMap functions that are _not_ locked, so that callers are aware that they need to do the locking themselves.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73628 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Constants.cpp