From: Tanya Lattner Date: Thu, 31 Jul 2003 05:08:02 +0000 (+0000) Subject: Renamed trapping instruction function to be more consistent with other functions... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=be08bb399a67525184378782a53347dfb76f0725;p=oota-llvm.git 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 --- 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;