Put createLoopUnswitchPass() into proper namespace

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19306 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2005-01-06 05:47:18 +00:00
parent 8ca7191599
commit f5e58f8f43

View File

@ -68,7 +68,7 @@ namespace {
RegisterOpt<LoopUnswitch> X("loop-unswitch", "Unswitch loops");
}
FunctionPass *createLoopUnswitchPass() { return new LoopUnswitch(); }
FunctionPass *llvm::createLoopUnswitchPass() { return new LoopUnswitch(); }
bool LoopUnswitch::runOnFunction(Function &F) {
bool Changed = false;