diff --git a/llvm/lib/VMCore/Instruction.cpp b/llvm/lib/VMCore/Instruction.cpp index a1ccddf41613..1a536427349c 100644 --- a/llvm/lib/VMCore/Instruction.cpp +++ b/llvm/lib/VMCore/Instruction.cpp @@ -141,7 +141,7 @@ bool Instruction::isCommutative(unsigned op) { /// isTrappingInstruction - Return true if the instruction may trap. /// -bool Instruction::isTrappingInstruction(unsigned op) { +bool Instruction::isTrapping(unsigned op) { switch(op) { case Div: case Rem: