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/Function.h | |
parent | f0d0e9c262b668cf362fbaa8111bb6cc15268909 (diff) |
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/Function.h')
-rw-r--r-- | include/llvm/Function.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 51dbd646b3..b7aa855b2c 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -19,11 +19,8 @@ class Instruction; class BasicBlock; class MethodArgument; class MethodType; -class Method; class Module; -typedef UseTy<Method> MethodUse; - class Method : public SymTabValue { public: typedef ValueHolder<MethodArgument, Method> ArgumentListType; |