diff options
author | Gabor Greif <ggreif@gmail.com> | 2009-03-12 23:13:03 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2009-03-12 23:13:03 +0000 |
commit | 7e07c00120d9609a4adbfd3e327f743d629aaf37 (patch) | |
tree | e896b2bdd9fa1561969d3d07ee21f76ca61e22cd | |
parent | 379e15e9882482c982c4572e724f6b73e35e3a93 (diff) |
cosmetic change, in preparation of future change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66839 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Instructions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 4821155e46..7b8231ea8c 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1157,13 +1157,13 @@ public: /// indirect function invocation. /// Function *getCalledFunction() const { - return dyn_cast<Function>(getOperand(0)); + return dyn_cast<Function>(Op<0>()); } /// getCalledValue - Get a pointer to the function that is invoked by this /// instruction - const Value *getCalledValue() const { return getOperand(0); } - Value *getCalledValue() { return getOperand(0); } + const Value *getCalledValue() const { return Op<0>(); } + Value *getCalledValue() { return Op<0>(); } // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const CallInst *) { return true; } |