[llvm-commits] [llvm] r163504 - /llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Benjamin Kramer
benny.kra at googlemail.com
Mon Sep 10 04:52:15 PDT 2012
Author: d0k
Date: Mon Sep 10 06:52:14 2012
New Revision: 163504
URL: http://llvm.org/viewvc/llvm-project?rev=163504&view=rev
Log:
Make helper function static.
Modified:
llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Modified: llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp?rev=163504&r1=163503&r2=163504&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/Mips/AsmParser/MipsAsmParser.cpp Mon Sep 10 06:52:14 2012
@@ -735,8 +735,7 @@
return VK;
}
-int ConvertCcString(StringRef CondString){
-
+static int ConvertCcString(StringRef CondString) {
int CC = StringSwitch<unsigned>(CondString)
.Case(".f", 0)
.Case(".un", 1)
More information about the llvm-commits
mailing list