1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add comment.

llvm-svn: 47653
This commit is contained in:
Devang Patel 2008-02-27 01:20:54 +00:00
parent a81d716e0c
commit c68e26f9fe
2 changed files with 3 additions and 1 deletions

View File

@ -1392,6 +1392,9 @@ public:
// ReturnInst(Value* X, Inst *I) - 'ret X' instruction, insert before I
// ReturnInst( null, BB *B) - 'ret void' instruction, insert @ end of BB
// ReturnInst(Value* X, BB *B) - 'ret X' instruction, insert @ end of BB
// ReturnInst(Value* X, N) - 'ret X,X+1...X+N-1' instruction
// ReturnInst(Value* X, N, Inst *) - 'ret X,X+1...X+N-1', insert before I
// ReturnInst(Value* X, N, BB *) - 'ret X,X+1...X+N-1', insert @ end of BB
//
// NOTE: If the Value* passed is of type void then the constructor behaves as
// if it was passed NULL.

View File

@ -617,7 +617,6 @@ ReturnInst::ReturnInst(Value * const* retVals, unsigned N)
}
void ReturnInst::init(Value * const* retVals, unsigned N) {
assert (N > 0 && "Invalid operands numbers in ReturnInst init");
NumOperands = N;