diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-30 18:10:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-30 18:10:53 +0000 |
commit | 3b197832bf569e331ee057aece06ecd99b13ba2f (patch) | |
tree | 7aad15dcf86faefa985deecc4624432ca06f91a9 /lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp | |
parent | 1ac55a69f0e84c14ed2d4651dcd574f14f30e751 (diff) | |
download | external_llvm-3b197832bf569e331ee057aece06ecd99b13ba2f.zip external_llvm-3b197832bf569e331ee057aece06ecd99b13ba2f.tar.gz external_llvm-3b197832bf569e331ee057aece06ecd99b13ba2f.tar.bz2 |
Rip out the 'is temporary' nonsense from the MCContext interface to
create symbols. It is extremely error prone and a source of a lot
of the remaining integrated assembler bugs on x86-64.
This fixes rdar://7807601.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp')
-rw-r--r-- | lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp b/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp index 32c6b04..f4d7d8a 100644 --- a/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp +++ b/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp @@ -59,7 +59,7 @@ GetJumpTableSymbol(const MachineOperand &MO) const { } // Create a symbol for the name. - return Ctx.GetOrCreateTemporarySymbol(Name.str()); + return Ctx.GetOrCreateSymbol(Name.str()); } MCSymbol *MSP430MCInstLower:: @@ -75,7 +75,7 @@ GetConstantPoolIndexSymbol(const MachineOperand &MO) const { } // Create a symbol for the name. - return Ctx.GetOrCreateTemporarySymbol(Name.str()); + return Ctx.GetOrCreateSymbol(Name.str()); } MCOperand MSP430MCInstLower:: |