summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-07-14 22:38:02 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-07-14 22:38:02 +0000
commit92d89983481749737fe496cc59674475643f20cd (patch)
tree7629b4120f4ebeb442f215c8e9bb1111cd9a001b /llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp
parente34b383e71b180b1c5e5ced1c32bca8d62254b8d (diff)
downloadbcm5719-llvm-92d89983481749737fe496cc59674475643f20cd.tar.gz
bcm5719-llvm-92d89983481749737fe496cc59674475643f20cd.zip
Don't pass StringRef by reference.
llvm-svn: 108366
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp b/llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp
index 5f6feae3723..42ab1b31d57 100644
--- a/llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp
+++ b/llvm/lib/Target/XCore/XCoreMCAsmInfo.cpp
@@ -10,7 +10,7 @@
#include "XCoreMCAsmInfo.h"
using namespace llvm;
-XCoreMCAsmInfo::XCoreMCAsmInfo(const Target &T, const StringRef &TT) {
+XCoreMCAsmInfo::XCoreMCAsmInfo(const Target &T, StringRef TT) {
SupportsDebugInformation = true;
Data16bitsDirective = "\t.short\t";
Data32bitsDirective = "\t.long\t";
OpenPOWER on IntegriCloud