This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
AJP/DiSLProject2022/src-profiler/ex6/IsFirstInLoopGuard.java

12 lines
288 B
Java
Raw Permalink Normal View History

package ex6;
import ch.usi.dag.disl.annotation.GuardMethod;
import ch.usi.dag.disl.staticcontext.LoopStaticContext;
public class IsFirstInLoopGuard {
@GuardMethod
public static boolean isLoopInstruction(final LoopStaticContext lsc) {
return lsc.isFirstOfLoop();
}
}