case INT:
case SHORT:
case BYTE:
case CHAR:
case BOOLEAN:
ilc.addBranch(new IFEQ(null), markInst) ;
return ;
case LONG:
ilc.add(ilc.getInstructionFactory().createConstant(Long.valueOf(0))) ;
ilc.add(InstructionConstants.LCMP) ;
ilc.addBranch(new IFEQ(null), markInst) ;
return ;
case DOUBLE:
ilc.add(ilc.getInstructionFactory().createConstant(Double.valueOf(0))) ;
ilc.add(InstructionConstants.DCMPL) ;
ilc.addBranch(new IFEQ(null), markInst) ;
return ;
case FLOAT:
ilc.add(ilc.getInstructionFactory().createConstant(Float.valueOf(0))) ;
ilc.add(InstructionConstants.FCMPL) ;
ilc.addBranch(new IFEQ(null), markInst) ;
return ;
default:
throw new IllegalArgumentException() ;
}
}