From 194db3587c4337f65cb8dd0cc0ee53bc1333fc8d Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Thu, 1 Jul 2010 15:42:00 +0000 Subject: back out r107396 for now, it needs another minor change to function as advertised git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107399 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instructions.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/llvm') diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 02cc947025..814329288d 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -948,13 +948,6 @@ public: 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 { -- cgit v1.2.3