Fix an oversight: for modules with no other identifying target info,
[oota-llvm.git] / lib / Target / Sparc / DelaySlotFiller.cpp
index 313eab9319ffbc51cc2d627aeb74cc8b8b0c12a8..784f1bdfeb579cf9012fa92bddb4ad80bc932e26 100644 (file)
@@ -30,7 +30,7 @@ namespace {
     TargetMachine &TM;
     const TargetInstrInfo *TII;
 
-    static const int ID;
+    static char ID;
     Filler(TargetMachine &tm) 
       : MachineFunctionPass((intptr_t)&ID), TM(tm), TII(tm.getInstrInfo()) { }
 
@@ -48,7 +48,7 @@ namespace {
     }
 
   };
-  const int Filler::ID = 0;
+  char Filler::ID = 0;
 } // end of anonymous namespace
 
 /// createSparcDelaySlotFillerPass - Returns a pass that fills in delay