To support multiple return values, now ret instruction supports multiple operands instead of one aggregate operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2008-02-23 00:35:18 +00:00
parent 313d4b8093
commit 57ef4f46c1
6 changed files with 77 additions and 65 deletions

View File

@@ -29,8 +29,9 @@ protected:
/// OperandList - This is a pointer to the array of Users for this operand.
/// For nodes of fixed arity (e.g. a binary operator) this array will live
/// embedded into the derived class. For nodes of variable arity
/// (e.g. ConstantArrays, CallInst, PHINodes, etc), this memory will be
/// dynamically allocated and should be destroyed by the classes virtual dtor.
/// (e.g. ConstantArrays, CallInst, PHINodes, ReturnInst etc), this memory
/// will be dynamically allocated and should be destroyed by the classes
/// virtual dtor.
Use *OperandList;
/// NumOperands - The number of values used by this User.