[llvm-commits] [llvm] r57606 - in /llvm/trunk: include/llvm/Instruction.h lib/VMCore/Instruction.cpp
Dan Gohman
gohman at apple.com
Wed Oct 15 15:56:21 PDT 2008
Author: djg
Date: Wed Oct 15 17:56:21 2008
New Revision: 57606
URL: http://llvm.org/viewvc/llvm-project?rev=57606&view=rev
Log:
Correct the name of isTrapping in comments.
Modified:
llvm/trunk/include/llvm/Instruction.h
llvm/trunk/lib/VMCore/Instruction.cpp
Modified: llvm/trunk/include/llvm/Instruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instruction.h?rev=57606&r1=57605&r2=57606&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instruction.h (original)
+++ llvm/trunk/include/llvm/Instruction.h Wed Oct 15 17:56:21 2008
@@ -171,7 +171,7 @@
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());
Modified: llvm/trunk/lib/VMCore/Instruction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Instruction.cpp?rev=57606&r1=57605&r2=57606&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Instruction.cpp (original)
+++ llvm/trunk/lib/VMCore/Instruction.cpp Wed Oct 15 17:56:21 2008
@@ -301,7 +301,7 @@
}
}
-/// isTrappingInstruction - Return true if the instruction may trap.
+/// isTrapping - Return true if the instruction may trap.
///
bool Instruction::isTrapping(unsigned op) {
switch(op) {
More information about the llvm-commits
mailing list