summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-19 17:03:00 +0000
committerChris Lattner <sabre@nondot.org>2003-06-19 17:03:00 +0000
commit936f771e254cd3212a19f44a7868e1dd2ebf3d4e (patch)
tree0902deca5c0bc950ff93c04cdfd515ab9447c848 /include
parent0e6094122aa55d2d381ceacc804155c25c312b37 (diff)
downloadllvm-936f771e254cd3212a19f44a7868e1dd2ebf3d4e.tar.gz
llvm-936f771e254cd3212a19f44a7868e1dd2ebf3d4e.tar.bz2
llvm-936f771e254cd3212a19f44a7868e1dd2ebf3d4e.tar.xz
Update comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/iTerminators.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/iTerminators.h b/include/llvm/iTerminators.h
index 312519eb45..ac8a1b39b8 100644
--- a/include/llvm/iTerminators.h
+++ b/include/llvm/iTerminators.h
@@ -14,8 +14,8 @@
#include "llvm/InstrTypes.h"
//===---------------------------------------------------------------------------
-// ReturnInst - Return a value (possibly void), from a method. Execution does
-// not continue in this method any longer.
+// ReturnInst - Return a value (possibly void), from a function. Execution does
+// not continue in this function any longer.
//
class ReturnInst : public TerminatorInst {
ReturnInst(const ReturnInst &RI) : TerminatorInst(Instruction::Ret) {
@@ -194,7 +194,7 @@ public:
class InvokeInst : public TerminatorInst {
InvokeInst(const InvokeInst &BI);
public:
- InvokeInst(Value *Meth, BasicBlock *IfNormal, BasicBlock *IfException,
+ InvokeInst(Value *Fn, BasicBlock *IfNormal, BasicBlock *IfException,
const std::vector<Value*> &Params, const std::string &Name = "",
Instruction *InsertBefore = 0);
@@ -212,7 +212,7 @@ public:
return dyn_cast<Function>(Operands[0].get());
}
- // getCalledValue - Get a pointer to a method that is invoked by this inst.
+ // getCalledValue - Get a pointer to a function that is invoked by this inst.
inline const Value *getCalledValue() const { return Operands[0]; }
inline Value *getCalledValue() { return Operands[0]; }