[llvm-branch-commits] [llvm-branch] r136195 - /llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h

Bill Wendling isanbard at gmail.com
Tue Jul 26 17:29:24 PDT 2011


Author: void
Date: Tue Jul 26 19:29:24 2011
New Revision: 136195

URL: http://llvm.org/viewvc/llvm-project?rev=136195&view=rev
Log:
Return a non-const Value pointer.

Modified:
    llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h

Modified: llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h?rev=136195&r1=136194&r2=136195&view=diff
==============================================================================
--- llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h (original)
+++ llvm/branches/exception-handling-rewrite/include/llvm/Instructions.h Tue Jul 26 19:29:24 2011
@@ -1862,7 +1862,7 @@
   }
 
   /// getClauseValue - Return the value of the clause at this index.
-  const Value *getClauseValue(unsigned I) const {
+  Value *getClauseValue(unsigned I) const {
     assert(I + 1 < getNumOperands() && "Index too large!");
     return OperandList[I + 1];
   }





More information about the llvm-branch-commits mailing list