ssa: delete DeleteUnreachableBlocks and OptimizeBlocks
@@ -29,10 +29,6 @@ func markReachable(b *BasicBlock) {
}
}
-func DeleteUnreachableBlocks(f *Function) {
- deleteUnreachableBlocks(f)
-}
-
// deleteUnreachableBlocks marks all reachable blocks of f and
// eliminates (nils) all others, including possibly cyclic subgraphs.
//
@@ -151,10 +147,6 @@ func fuseBlocks(f *Function, a *BasicBlock) bool {
return true
}
-func OptimizeBlocks(f *Function) {
- optimizeBlocks(f)
-}
-
// optimizeBlocks() performs some simple block optimizations on a
// completed function: dead block elimination, block fusion, jump
// threading.
