Correct the name of isTrapping in comments.
authorDan Gohman <gohman@apple.com>
Wed, 15 Oct 2008 22:56:21 +0000 (22:56 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 15 Oct 2008 22:56:21 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57606 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instruction.h
lib/VMCore/Instruction.cpp

index cec9144e35d1f7bb4c014d641aa0c17fff8a0a89..f56b96fe5e9921bdf23a68d0332218f27154cb36 100644 (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());
index 97334b3e247e172c42c7bfe2e3feee57ca364fae..067a4bb639f869c781b1f5f49ba0f5fa71501c63 100644 (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) {