diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-01-07 20:29:02 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-01-07 20:29:02 +0000 |
commit | 8e3914d12e939d7c686bd121b0e2b2d39ed126d2 (patch) | |
tree | 195a8c211ef2623f284982afa3fb2ac5c595ed00 /include/llvm/Use.h | |
parent | 43eaadeea5217995c153078c04b77183d4c8c494 (diff) | |
download | external_llvm-8e3914d12e939d7c686bd121b0e2b2d39ed126d2.zip external_llvm-8e3914d12e939d7c686bd121b0e2b2d39ed126d2.tar.gz external_llvm-8e3914d12e939d7c686bd121b0e2b2d39ed126d2.tar.bz2 |
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Use.h b/include/llvm/Use.h index e1ebc6a..507504e 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); |