}
public static void createPostInc(EvaluationContext context,TypeName forwardType, Expr e,Number inc, InstList l) throws CompilerException {
LValue v = context.compileLValue(e, l) ;
if (TypeCode.getType(forwardType) == TypeCode.VOID) {
l.add(new Increment(v,inc)) ;
}
else {
l.add(new Dup(TypeCode.VOID,v.getRefType())) ;
l.add(new Load(v)) ;
final TypeCode tc = TypeCode.getType(v.getType());
l.add(new Dup(v.getRefType(),tc)) ;
l.add(new Pop(tc)) ;
l.add(new Increment(v,inc)) ;
convert(context,context.getType(e),forwardType,l) ;
}
}