From be08bb399a67525184378782a53347dfb76f0725 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Thu, 31 Jul 2003 05:08:02 +0000 Subject: [PATCH] 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 --- include/llvm/Instruction.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 1b85e91cd0b..9bd0bd2384b 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;