mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Eliminate a poorly conceived method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45a1cf87d4
commit
06ac2bef15
@ -247,14 +247,6 @@ public:
|
||||
///
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
|
||||
/// addBlockMapping - Add the specified basic block to the mapping from blocks
|
||||
/// to loops.
|
||||
void addBlockMapping(BasicBlock *BB, Loop *L) {
|
||||
assert(!BBMap.count(BB) && "Block already in mapping!");
|
||||
assert(L != 0 && "Cannot map to null loop!");
|
||||
BBMap[BB] = L;
|
||||
}
|
||||
|
||||
/// removeLoop - This removes the specified top-level loop from this loop info
|
||||
/// object. The loop is not deleted, as it will presumably be inserted into
|
||||
/// another loop.
|
||||
|
Loading…
x
Reference in New Issue
Block a user