Renamed trapping instruction function to be more consistent with other functions...
authorTanya Lattner <tonic@nondot.org>
Thu, 31 Jul 2003 05:08:02 +0000 (05:08 +0000)
committerTanya Lattner <tonic@nondot.org>
Thu, 31 Jul 2003 05:08:02 +0000 (05:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7448 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instruction.h

index 1b85e91cd0b303a1e276ff04c3c83fd071a3ecb6..9bd0bd2384bb0bd8f63e49b927fa34de0969bcb0 100644 (file)
@@ -99,10 +99,10 @@ public:
 
   /// isTrappingInstruction - Return true if the instruction may trap.
   ///
-  bool isTrappingInstruction() const {
-    return isTrappingInstruction(getOpcode()); 
+  bool isTrapping() const {
+    return isTrapping(getOpcode()); 
   }
-  static bool isTrappingInstruction(unsigned op);
+  static bool isTrapping(unsigned op);
   
   virtual void print(std::ostream &OS) const;