aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-10 02:25:11 +0000
committerChris Lattner <sabre@nondot.org>2010-03-10 02:25:11 +0000
commit98cdab53c302a2d6686fa428c0e896b1fb195311 (patch)
tree6a81e5db3dfa87703b667b33ac4a8eac94c5a1dc /include
parent2d0a91cd6c3df32014d547255d6a615bd1bc84fb (diff)
downloadexternal_llvm-98cdab53c302a2d6686fa428c0e896b1fb195311.zip
external_llvm-98cdab53c302a2d6686fa428c0e896b1fb195311.tar.gz
external_llvm-98cdab53c302a2d6686fa428c0e896b1fb195311.tar.bz2
set the temporary bit on MCSymbols correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCExpr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h
index fce7602..3f17492 100644
--- a/include/llvm/MC/MCExpr.h
+++ b/include/llvm/MC/MCExpr.h
@@ -127,6 +127,10 @@ public:
static const MCSymbolRefExpr *Create(const MCSymbol *Symbol, MCContext &Ctx);
static const MCSymbolRefExpr *Create(StringRef Name, MCContext &Ctx);
+
+ /// CreateTemp - Create a reference to an assembler temporary label with the
+ /// specified name.
+ static const MCSymbolRefExpr *CreateTemp(StringRef Name, MCContext &Ctx);
/// @}
/// @name Accessors