Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
[oota-llvm.git] / lib / CodeGen / StackProtector.cpp
index ca5c28ce010cb29d3fe16759fe515dc8d53e2fd9..ff20f11e6e6c70c62b0757a126f436f3d88fa884 100644 (file)
@@ -71,8 +71,8 @@ namespace {
 } // end anonymous namespace
 
 char StackProtector::ID = 0;
-static RegisterPass<StackProtector>
-X("stack-protector", "Insert stack protectors");
+INITIALIZE_PASS(StackProtector, "stack-protector",
+                "Insert stack protectors", false, false);
 
 FunctionPass *llvm::createStackProtectorPass(const TargetLowering *tli) {
   return new StackProtector(tli);