Correct the name of isTrapping in comments.

llvm-svn: 57606
This commit is contained in:
Dan Gohman 2008-10-15 22:56:21 +00:00
parent 8a97a9a7e8
commit 7847142f26
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) {