aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-15 22:56:21 +0000
committerDan Gohman <gohman@apple.com>2008-10-15 22:56:21 +0000
commit95c2cc51ebb2a58ccd66a1465d5c8ed89b381bc9 (patch)
tree0716f17334983f6c6fff4a7803cd99d004992a62
parent65ac2fa8802676a5f7b2402f92dea6129d1f1903 (diff)
Correct the name of isTrapping in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57606 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Instruction.h2
-rw-r--r--lib/VMCore/Instruction.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index cec9144e35..f56b96fe5e 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -171,7 +171,7 @@ public:
bool isCommutative() const { return isCommutative(getOpcode()); }
static bool isCommutative(unsigned op);
- /// isTrappingInstruction - Return true if the instruction may trap.
+ /// isTrapping - Return true if the instruction may trap.
///
bool isTrapping() const {
return isTrapping(getOpcode());
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 97334b3e24..067a4bb639 100644
--- a/lib/VMCore/Instruction.cpp
+++ b/lib/VMCore/Instruction.cpp
@@ -301,7 +301,7 @@ bool Instruction::isCommutative(unsigned op) {
}
}
-/// isTrappingInstruction - Return true if the instruction may trap.
+/// isTrapping - Return true if the instruction may trap.
///
bool Instruction::isTrapping(unsigned op) {
switch(op) {