From 0dc0e22ada07979053a6f6a2237557e6b6b7ec84 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 5 Jan 2014 20:26:05 +0000 Subject: [PATCH] SPARC: Make helper function static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198567 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcAsmPrinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/Sparc/SparcAsmPrinter.cpp b/lib/Target/Sparc/SparcAsmPrinter.cpp index e2115a7c4ac..30580376698 100644 --- a/lib/Target/Sparc/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/SparcAsmPrinter.cpp @@ -130,8 +130,8 @@ static void EmitOR(MCStreamer &OutStreamer, MCOperand &RS1, 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);