diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index e0c14b8328..8a375048bf 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -640,17 +640,6 @@ void ReturnInst::init(const Value * const* retVals, unsigned N) { } } -Value *ReturnInst::getReturnValue(unsigned n) const { - if (getNumOperands() == 0) - return 0; - - assert (n < getNumOperands() && "getReturnValue out of range!"); - if (getNumOperands() == 1) - return RetVal; - else - return OperandList[n]; -} - unsigned ReturnInst::getNumSuccessorsV() const { return getNumSuccessors(); } |