Skip to content

Commit

Permalink
Renamed trapping instruction function to be more consistent with othe…
Browse files Browse the repository at this point in the history
…r functions in the file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7448 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
tlattner committed Jul 31, 2003
1 parent ec127bb commit be08bb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/llvm/Instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ class Instruction : public User {

/// 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;

Expand Down

0 comments on commit be08bb3

Please sign in to comment.