Add comment.
authorDevang Patel <dpatel@apple.com>
Wed, 27 Feb 2008 01:20:54 +0000 (01:20 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 27 Feb 2008 01:20:54 +0000 (01:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47653 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h
lib/VMCore/Instructions.cpp

index be523b1b723055f31cc95d766dee0807cd34bdf9..59c2762d199b32109f81c7f2005a3470ede23d6e 100644 (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.
index e66f5e9bdf063a7747c9660cec003a593438afbb..c0b3413da33782870832f11d011181ba3ab69485 100644 (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;