simplify code to use OutContext.GetOrCreateTemporarySymbol with
authorChris Lattner <sabre@nondot.org>
Fri, 12 Mar 2010 18:47:50 +0000 (18:47 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 Mar 2010 18:47:50 +0000 (18:47 +0000)
commitb0f129a5d9e07870b3cd69b3a61fb69554ae774d
treecc6a6fd2e62d6d014ac56b36214db028f9c18137
parent5ef31a039dbb9c36cfd78442b3554d1b6974ec4c
simplify code to use OutContext.GetOrCreateTemporarySymbol with
no arguments instead of having to come up with a unique name.
This also makes the code less fragile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
test/CodeGen/X86/pic.ll