Correct the name of isTrapping in comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-10-15 22:56:21 +00:00
parent 65ac2fa880
commit 95c2cc51eb
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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) {