Correct the name of isTrapping in comments.
llvm-svn: 57606
This commit is contained in:
parent
8a97a9a7e8
commit
7847142f26
|
@ -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());
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue