IRIS_INST_SUB_LOAD_RESOURCES
if (inst->sub_state & IRIS_INST_SUB_LOAD_RESOURCES)
return iris_inst_change_sub_state(inst, 0, IRIS_INST_SUB_LOAD_RESOURCES);
} else if (inst->sub_state & IRIS_INST_SUB_LOAD_RESOURCES) {
iris_inst_change_sub_state(inst, IRIS_INST_SUB_LOAD_RESOURCES, 0);
iris_inst_change_sub_state(inst, IRIS_INST_SUB_LOAD_RESOURCES, 0);
if (sub_state & IRIS_INST_SUB_LOAD_RESOURCES)
IRIS_INST_SUB_LOAD_RESOURCES))