In
c93dba5adbd5d I forgot to adjust mkZeroOfPrimopResultType.
This function needs to go. See also
7270e04ab8eb7.
I should be able to query IROp properties easily and for all IRops.
E.g. instead of calling mkZeroOfPrimopResultType I want this:
mkZero(irop->result_type)
static IRExpr* mkZeroOfPrimopResultType ( IROp op )
{
switch (op) {
+ case Iop_Sub8:
case Iop_Xor8: return IRExpr_Const(IRConst_U8(0));
+ case Iop_Sub16:
case Iop_Xor16: return IRExpr_Const(IRConst_U16(0));
case Iop_Sub32:
case Iop_Xor32: return IRExpr_Const(IRConst_U32(0));