return isTerminator(iType);
}
- static inline bool isPhiNode(unsigned OpCode) { return OpCode == PHI; }
-
inline bool isBinaryOp() const {
return iType >= BinaryOpsBegin && iType < BinaryOpsEnd;
}
bca.numOperands += Operands.size();
if ( currFunc ) {
currFunc->numInstructions++;
- if ( Instruction::isPhiNode(Opcode) ) currFunc->numPhis++;
+ if ( Opcode == Instruction::PHI ) currFunc->numPhis++;
}
return Instruction::isTerminator(Opcode);
}
bca.numOperands += Operands.size();
if ( currFunc ) {
currFunc->numInstructions++;
- if ( Instruction::isPhiNode(Opcode) ) currFunc->numPhis++;
+ if ( Opcode == Instruction::PHI ) currFunc->numPhis++;
}
return Instruction::isTerminator(Opcode);
}