diff options
Diffstat (limited to 'lib/VMCore/Globals.cpp')
-rw-r--r-- | lib/VMCore/Globals.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/VMCore/Globals.cpp b/lib/VMCore/Globals.cpp index 763fc721e0..03ceecb6f1 100644 --- a/lib/VMCore/Globals.cpp +++ b/lib/VMCore/Globals.cpp @@ -75,13 +75,6 @@ void GlobalValue::removeDeadConstantUsers() const { } } -/// removeDeadBlockAddress - If there is a blockaddress node for this basic -/// block, try to remove it and any dead constant users of it. -void BasicBlock::removeDeadBlockAddress() { - if (!hasAddressTaken()) return; - removeDeadUsersOfConstant(BlockAddress::get(this)); -} - /// Override destroyConstant to make sure it doesn't get called on /// GlobalValue's because they shouldn't be treated like other constants. |