Merge pull request #12345 from erik-krogh/delOldDeps

delete old deprecations
This commit is contained in:
Erik Krogh Kristensen
2023-03-13 12:48:24 +01:00
committed by GitHub
41 changed files with 43 additions and 550 deletions

View File

@@ -75,13 +75,6 @@ class SubBasicBlock extends ControlFlowNodeBase {
)
}
/**
* DEPRECATED: use `getRankInBasicBlock` instead. Note that this predicate
* returns a 0-based position, while `getRankInBasicBlock` returns a 1-based
* position.
*/
deprecated int getPosInBasicBlock(BasicBlock bb) { result = this.getRankInBasicBlock(bb) - 1 }
pragma[noinline]
private int getIndexInBasicBlock(BasicBlock bb) { this = bb.getNode(result) }