mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
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:
parent
8ca7191599
commit
f5e58f8f43
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user