A couple of substantial cleanup fixes:
authorChris Lattner <sabre@nondot.org>
Tue, 13 Jul 2004 07:59:27 +0000 (07:59 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Jul 2004 07:59:27 +0000 (07:59 +0000)
commit8ab406d5bd7b94d7acce3f6d97efc5b011d869dc
tree854c0ad8452f3ed4639ee82c9088fe6a4be1399f
parent0859e525820e3d07069613d4aa7ae6113e9d57b6
A couple of substantial cleanup fixes:
  1. Split setValueName into two separate functions, one that is only used
     at function scope and doesn't have to deal with duplicates, and one
     that can be used either at global or function scope but that does deal
     with conflicts.  Conflicts were only in there because of the crappy old
     CFE and probably should be entirely eliminated.
  2. Insert BasicBlock's into the parent functions when they are created
     instead of when they are complete.  This effects name lookup (for the
     better), which will be exploited in the next patch.

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