diff options
-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; |