From 95c2cc51ebb2a58ccd66a1465d5c8ed89b381bc9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 15 Oct 2008 22:56:21 +0000 Subject: [PATCH] Correct the name of isTrapping in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57606 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instruction.h | 2 +- lib/VMCore/Instruction.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index cec9144e35d..f56b96fe5e9 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -171,7 +171,7 @@ public: bool isCommutative() const { return isCommutative(getOpcode()); } static bool isCommutative(unsigned op); - /// isTrappingInstruction - Return true if the instruction may trap. + /// isTrapping - Return true if the instruction may trap. /// bool isTrapping() const { return isTrapping(getOpcode()); diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp index 97334b3e247..067a4bb639f 100644 --- a/lib/VMCore/Instruction.cpp +++ b/lib/VMCore/Instruction.cpp @@ -301,7 +301,7 @@ bool Instruction::isCommutative(unsigned op) { } } -/// isTrappingInstruction - Return true if the instruction may trap. +/// isTrapping - Return true if the instruction may trap. /// bool Instruction::isTrapping(unsigned op) { switch(op) { -- 2.34.1