[llvm-commits] [llvm] r107399 - /llvm/trunk/include/llvm/Instructions.h

Gabor Greif ggreif at gmail.com
Thu Jul 1 08:42:00 PDT 2010


Author: ggreif
Date: Thu Jul  1 10:42:00 2010
New Revision: 107399

URL: http://llvm.org/viewvc/llvm-project?rev=107399&view=rev
Log:
back out r107396 for now, it needs another minor change to function as advertised

Modified:
    llvm/trunk/include/llvm/Instructions.h

Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=107399&r1=107398&r2=107399&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Thu Jul  1 10:42:00 2010
@@ -948,13 +948,6 @@
   Value *getArgOperand(unsigned i) const { return getOperand(i + ArgOffset); }
   void setArgOperand(unsigned i, Value *v) { setOperand(i + ArgOffset, v); }
 
-  /// Provide compile-time errors for accessing operand 0
-  /// @deprecated these will go away soon
-  /// @detail see below comments and update your code to high-level interfaces
-  ///
-  void getOperand(void*); // NO IMPL ---> use getCalledValue (or possibly getCalledFunction) instead
-  void setOperand(void*, Value*); // NO IMPL ---> use setCalledFunction instead
-
   /// getCallingConv/setCallingConv - Get or set the calling convention of this
   /// function call.
   CallingConv::ID getCallingConv() const {





More information about the llvm-commits mailing list