aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit4cf6e73f51b33e252cdad17bc03f487f17418941 (patch)
tree2cbc8f9a8ce3171d4432fc6c7f4bd686aef3b49b /lib/Target/XCore/XCoreMCAsmInfo.cpp
parent55d2455541f6c65373ce4f0db48539737bd221c9 (diff)
downloadexternal_llvm-4cf6e73f51b33e252cdad17bc03f487f17418941.zip
external_llvm-4cf6e73f51b33e252cdad17bc03f487f17418941.tar.gz
external_llvm-4cf6e73f51b33e252cdad17bc03f487f17418941.tar.bz2
Don't pass StringRef by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreMCAsmInfo.cpp')
-rw-r--r--lib/Target/XCore/XCoreMCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreMCAsmInfo.cpp b/lib/Target/XCore/XCoreMCAsmInfo.cpp
index 5f6feae..42ab1b3 100644
--- a/lib/Target/XCore/XCoreMCAsmInfo.cpp
+++ b/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";