summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-11 23:12:08 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-11 23:12:08 +0000
commit0932a749a3e2c62567535e5d27ed9910436c915b (patch)
treecd00e2b641e6b4d81176589161f15aae4f2d8562 /include/llvm/CodeGen
parent31add9cbed958e553d1753b00b678652c234478d (diff)
downloadllvm-0932a749a3e2c62567535e5d27ed9910436c915b.tar.gz
llvm-0932a749a3e2c62567535e5d27ed9910436c915b.tar.bz2
llvm-0932a749a3e2c62567535e5d27ed9910436c915b.tar.xz
Accept Twine's to AsmPrinter::getTempSymbol (refactoring for an incoming change)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 516d4c0679..d4a80b0566 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -16,6 +16,7 @@
#ifndef LLVM_CODEGEN_ASMPRINTER_H
#define LLVM_CODEGEN_ASMPRINTER_H
+#include "llvm/ADT/Twine.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/IR/InlineAsm.h"
#include "llvm/Support/DataTypes.h"
@@ -313,11 +314,11 @@ namespace llvm {
/// GetTempSymbol - Return the MCSymbol corresponding to the assembler
/// temporary label with the specified stem and unique ID.
- MCSymbol *GetTempSymbol(StringRef Name, unsigned ID) const;
+ MCSymbol *GetTempSymbol(Twine Name, unsigned ID) const;
/// GetTempSymbol - Return an assembler temporary label with the specified
/// stem.
- MCSymbol *GetTempSymbol(StringRef Name) const;
+ MCSymbol *GetTempSymbol(Twine Name) const;
/// Return the MCSymbol for a private symbol with global value name as its
/// base, with the specified suffix.