summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-01 01:27:45 +0000
committerChris Lattner <sabre@nondot.org>2009-11-01 01:27:45 +0000
commitcdfc940912d56a63b6f12eaa7f3faf79cf74c693 (patch)
treed726a0bce552dab388c526c707aa0b88455241e5 /include/llvm/Constants.h
parentde17fb6e4dd8f169f707d58d4e124c8d4d2c7dba (diff)
downloadllvm-cdfc940912d56a63b6f12eaa7f3faf79cf74c693.tar.gz
llvm-cdfc940912d56a63b6f12eaa7f3faf79cf74c693.tar.bz2
llvm-cdfc940912d56a63b6f12eaa7f3faf79cf74c693.tar.xz
Revert 85678/85680. The decision is to stay with the current form of
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it for simplicity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index f493ee68ff..99928d9b85 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -567,10 +567,6 @@ public:
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
Function *getFunction() const { return (Function*)Op<0>().get(); }
-
- /// getBasicBlock - This returns the block associated with this BlockAddress.
- /// Note that this can return null if the block this originally referred to
- /// was deleted.
BasicBlock *getBasicBlock() const { return (BasicBlock*)Op<1>().get(); }
/// isNullValue - Return true if this is the value that would be returned by