diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index cec9144e35d..f56b96fe5e9 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 97334b3e247..067a4bb639f 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) {