case BOOLEAN:
case CHAR:
case BYTE:
case SHORT:
case INT: ilc.add(new ILOAD(index)); return ;
case FLOAT: ilc.add(new FLOAD(index)); return ;
case DOUBLE: ilc.add(new DLOAD(index)); return ;
case LONG: ilc.add(new LLOAD(index)); return ;
case ARRAY:
case OBJECT: ilc.add(new ALOAD(index)); return ;
default: throw new IllegalArgumentException("Invalid type " + type);