From: Dan Gohman Date: Wed, 15 Oct 2008 22:56:21 +0000 (+0000) Subject: Correct the name of isTrapping in comments. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=95c2cc51ebb2a58ccd66a1465d5c8ed89b381bc9;p=oota-llvm.git Correct the name of isTrapping in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57606 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {