forked from OSchip/llvm-project
Revert an unneeded interface change to Instruction.h
llvm-svn: 14137
This commit is contained in:
parent
a5ddab2779
commit
c22be9f9d5
|
@ -95,8 +95,6 @@ public:
|
|||
return isTerminator(iType);
|
||||
}
|
||||
|
||||
static inline bool isPhiNode(unsigned OpCode) { return OpCode == PHI; }
|
||||
|
||||
inline bool isBinaryOp() const {
|
||||
return iType >= BinaryOpsBegin && iType < BinaryOpsEnd;
|
||||
}
|
||||
|
|
|
@ -191,7 +191,7 @@ public:
|
|||
bca.numOperands += Operands.size();
|
||||
if ( currFunc ) {
|
||||
currFunc->numInstructions++;
|
||||
if ( Instruction::isPhiNode(Opcode) ) currFunc->numPhis++;
|
||||
if ( Opcode == Instruction::PHI ) currFunc->numPhis++;
|
||||
}
|
||||
return Instruction::isTerminator(Opcode);
|
||||
}
|
||||
|
|
|
@ -191,7 +191,7 @@ public:
|
|||
bca.numOperands += Operands.size();
|
||||
if ( currFunc ) {
|
||||
currFunc->numInstructions++;
|
||||
if ( Instruction::isPhiNode(Opcode) ) currFunc->numPhis++;
|
||||
if ( Opcode == Instruction::PHI ) currFunc->numPhis++;
|
||||
}
|
||||
return Instruction::isTerminator(Opcode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue