[Hexagon] Make helper function static. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 12 Jan 2016 14:58:49 +0000 (14:58 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 12 Jan 2016 14:58:49 +0000 (14:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257476 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonAsmPrinter.cpp

index e213089..4c7c039 100644 (file)
@@ -190,9 +190,9 @@ bool HexagonAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
   return false;
 }
 
-MCSymbol *smallData(AsmPrinter &AP, const MachineInstr &MI,
-                   MCStreamer &OutStreamer,
-                    const MCOperand &Imm, int AlignSize) {
+static MCSymbol *smallData(AsmPrinter &AP, const MachineInstr &MI,
+                           MCStreamer &OutStreamer, const MCOperand &Imm,
+                           int AlignSize) {
   MCSymbol *Sym;
   int64_t Value;
   if (Imm.getExpr()->evaluateAsAbsolute(Value)) {