createXXXMCCodeGenInfo should be static.
[oota-llvm.git] / lib / Target / Blackfin / MCTargetDesc / BlackfinMCTargetDesc.cpp
index 32a21b8390c4d5e676f502a80e7299a01ab8443d..5fdc527aef0c0516748553d89189c713872340e5 100644 (file)
@@ -50,8 +50,8 @@ static MCSubtargetInfo *createBlackfinMCSubtargetInfo(StringRef TT,
   return X;
 }
 
-MCCodeGenInfo *createBlackfinMCCodeGenInfo(StringRef TT, Reloc::Model RM,
-                                           CodeModel::Model CM) {
+static MCCodeGenInfo *createBlackfinMCCodeGenInfo(StringRef TT, Reloc::Model RM,
+                                                  CodeModel::Model CM) {
   MCCodeGenInfo *X = new MCCodeGenInfo();
   X->InitMCCodeGenInfo(RM, CM);
   return X;