[llvm-commits] CVS: llvm/include/llvm/Instruction.h

Tanya Brethour tbrethou at niobe.cs.uiuc.edu
Thu Jul 31 00:09:01 PDT 2003


Changes in directory llvm/include/llvm:

Instruction.h updated: 1.44 -> 1.45

---
Log message:

Renamed trapping instruction function to be more consistent with other functions in the file.


---
Diffs of the changes:

Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.44 llvm/include/llvm/Instruction.h:1.45
--- llvm/include/llvm/Instruction.h:1.44	Wed Jul 30 23:05:50 2003
+++ llvm/include/llvm/Instruction.h	Thu Jul 31 00:08:02 2003
@@ -99,10 +99,10 @@
 
   /// 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;
 





More information about the llvm-commits mailing list