Fold setValueNameMergingDuplicates into ParseGlobalVariable, allowing us
authorChris Lattner <sabre@nondot.org>
Wed, 14 Jul 2004 20:42:57 +0000 (20:42 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 14 Jul 2004 20:42:57 +0000 (20:42 +0000)
commitcb9d6a8f734f6b876c2c32b39095ea69fa47a325
treeaeb6b63cf9a343933a283a2063ed8217dd246a3d
parentfe2102b61d272bb83cb2a0cf98340875672a23ac
Fold setValueNameMergingDuplicates into ParseGlobalVariable, allowing us
to substantially simplify the result.  In particular, we no longer create
GlobalVariables and then immediately destroy them when they are duplciate
definitions.

The real point of this patch though is that it gets us closer to the
DeclareNewGlobalValue calls...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14827 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/llvmAsmParser.y