summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-25 16:42:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-25 16:42:51 +0000
commitaef5bd049f45ddd3d0ddcca23608c78a8443457a (patch)
tree6268eaffffe173a6f181530efa42af695edc6b25 /llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
parentf8e127eaf61ba9301d0a8fbc39de16d3a1c34248 (diff)
downloadbcm5719-llvm-aef5bd049f45ddd3d0ddcca23608c78a8443457a.tar.gz
bcm5719-llvm-aef5bd049f45ddd3d0ddcca23608c78a8443457a.zip
Namespacify.
llvm-svn: 120146
Diffstat (limited to 'llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index c8037b3b6ad..c8db0c40476 100644
--- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
@@ -222,7 +222,7 @@ void PPCInstPrinter::printMemRegReg(const MCInst *MI, unsigned OpNo,
/// stripRegisterPrefix - This method strips the character prefix from a
/// register name so that only the number is left. Used by for linux asm.
-const char *stripRegisterPrefix(const char *RegName) {
+static const char *stripRegisterPrefix(const char *RegName) {
switch (RegName[0]) {
case 'r':
case 'f':
OpenPOWER on IntegriCloud