From 98cdab53c302a2d6686fa428c0e896b1fb195311 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 10 Mar 2010 02:25:11 +0000 Subject: set the temporary bit on MCSymbols correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98124 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCExpr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.1