[llvm] r198567 - SPARC: Make helper function static.

Benjamin Kramer benny.kra at googlemail.com
Sun Jan 5 12:26:05 PST 2014


Author: d0k
Date: Sun Jan  5 14:26:05 2014
New Revision: 198567

URL: http://llvm.org/viewvc/llvm-project?rev=198567&view=rev
Log:
SPARC: Make helper function static.

Modified:
    llvm/trunk/lib/Target/Sparc/SparcAsmPrinter.cpp

Modified: llvm/trunk/lib/Target/Sparc/SparcAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcAsmPrinter.cpp?rev=198567&r1=198566&r2=198567&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/SparcAsmPrinter.cpp Sun Jan  5 14:26:05 2014
@@ -130,8 +130,8 @@ static void EmitOR(MCStreamer &OutStream
   OutStreamer.EmitInstruction(ORInst);
 }
 
-void EmitADD(MCStreamer &OutStreamer,
-             MCOperand &RS1, MCOperand &RS2, MCOperand &RD)
+static void EmitADD(MCStreamer &OutStreamer,
+                    MCOperand &RS1, MCOperand &RS2, MCOperand &RD)
 {
   MCInst ADDInst;
   ADDInst.setOpcode(SP::ADDrr);





More information about the llvm-commits mailing list