summaryrefslogtreecommitdiff
path: root/include/llvm/Use.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-01-07 20:29:02 +0000
committerJay Foad <jay.foad@gmail.com>2011-01-07 20:29:02 +0000
commit8e3914d12e939d7c686bd121b0e2b2d39ed126d2 (patch)
tree195a8c211ef2623f284982afa3fb2ac5c595ed00 /include/llvm/Use.h
parent43eaadeea5217995c153078c04b77183d4c8c494 (diff)
downloadllvm-8e3914d12e939d7c686bd121b0e2b2d39ed126d2.tar.gz
llvm-8e3914d12e939d7c686bd121b0e2b2d39ed126d2.tar.bz2
llvm-8e3914d12e939d7c686bd121b0e2b2d39ed126d2.tar.xz
Simplify the allocation and freeing of Users' operand lists, now that
every BranchInst has a fixed number of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Use.h')
-rw-r--r--include/llvm/Use.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Use.h b/include/llvm/Use.h
index e1ebc6a51b..507504ecdc 100644
--- a/include/llvm/Use.h
+++ b/include/llvm/Use.h
@@ -112,8 +112,6 @@ public:
/// a User changes.
static void zap(Use *Start, const Use *Stop, bool del = false);
- /// getPrefix - Return deletable pointer if appropriate
- Use *getPrefix();
private:
const Use* getImpliedUser() const;
static Use *initTags(Use *Start, Use *Stop, ptrdiff_t Done = 0);