mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
Expose this as a functionpass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
21ab22e475
commit
1e5fdf8ba0
@ -48,7 +48,9 @@ namespace {
|
||||
|
||||
// Publically exposed interface to pass...
|
||||
const PassInfo *llvm::BreakCriticalEdgesID = X.getPassInfo();
|
||||
Pass *llvm::createBreakCriticalEdgesPass() { return new BreakCriticalEdges(); }
|
||||
FunctionPass *llvm::createBreakCriticalEdgesPass() {
|
||||
return new BreakCriticalEdges();
|
||||
}
|
||||
|
||||
// runOnFunction - Loop over all of the edges in the CFG, breaking critical
|
||||
// edges as they are found.
|
||||
|
Loading…
x
Reference in New Issue
Block a user