diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-07 08:36:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-07 08:36:50 +0000 |
commit | c8b25d40cbec063b1ca99cc1adf794399c6d05c0 (patch) | |
tree | 8ad1468cb632eb9770206b1bd4bdd45d4e037898 /include/llvm/BasicBlock.h | |
parent | f0d0e9c262b668cf362fbaa8111bb6cc15268909 (diff) | |
download | external_llvm-c8b25d40cbec063b1ca99cc1adf794399c6d05c0.zip external_llvm-c8b25d40cbec063b1ca99cc1adf794399c6d05c0.tar.gz external_llvm-c8b25d40cbec063b1ca99cc1adf794399c6d05c0.tar.bz2 |
Changed the fundemental architecture of Operands for Instructions. Now
Operands are maintained as a vector<Use> in the User class, and operator
iterators are provided as before. Getting an operand no longer requires
a virtual function call.
WARNING: getOperand(x) where x >= getNumOperands() will now assert instead
of returning null!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/BasicBlock.h')
-rw-r--r-- | include/llvm/BasicBlock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index d7f286e..402b1fd 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -28,11 +28,8 @@ class Instruction; class Method; -class BasicBlock; class TerminatorInst; -typedef UseTy<BasicBlock> BasicBlockUse; - class BasicBlock : public Value { // Basic blocks are data objects also public: typedef ValueHolder<Instruction, BasicBlock> InstListType; |