org.qbicc.graph.Unschedulable Maven / Gradle / Ivy
package org.qbicc.graph;
/**
* Represents a node that cannot be scheduled.
*/
public interface Unschedulable extends Node {
@Override
default int getScheduleIndex() {
return -1;
}
@Override
default void setScheduleIndex(int index) {
throw new UnsupportedOperationException("Cannot schedule unschedulable node");
}
@Override
default BasicBlock getScheduledBlock() {
return null;
}
@Override
default int getBlockIndex() {
return -1;
}
@Override
default void setScheduledBlock(BasicBlock block) {
throw new UnsupportedOperationException("Cannot schedule unschedulable node");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy