diff options
author | Tanya Lattner <tonic@nondot.org> | 2003-07-31 05:08:02 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2003-07-31 05:08:02 +0000 |
commit | be08bb399a67525184378782a53347dfb76f0725 (patch) | |
tree | 6106e8321620a286f9305c12111b80842b83c5d0 | |
parent | ec127bb3526aefbf9008df3c3ce4c1f30fb77f08 (diff) |
Renamed trapping instruction function to be more consistent with other functions in the file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7448 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Instruction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 1b85e91cd0..9bd0bd2384 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -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; |