diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-01 18:11:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-01 18:11:50 +0000 |
commit | 4a7642ec9c33bcf8ed65231f382fb6d9a0f46f3a (patch) | |
tree | f363990ceb57c9d4f1282fb1c3595fa9e155209e /lib/VMCore/Globals.cpp | |
parent | 076124ef26ff67f88663bd11f3b4d6b3d3bb3a9d (diff) | |
download | llvm-4a7642ec9c33bcf8ed65231f382fb6d9a0f46f3a.tar.gz llvm-4a7642ec9c33bcf8ed65231f382fb6d9a0f46f3a.tar.bz2 llvm-4a7642ec9c33bcf8ed65231f382fb6d9a0f46f3a.tar.xz |
the verifier shouldn't modify the IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85722 91177308-0d34-0410-b5e6-96231b3b80d8
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. |