java.lang.Object
org.kink_lang.kink.internal.program.itreeoptimize.ssafy.Ssafier

public final class Ssafier extends Object
Conversion to static single assignment (SSA) form.
  • Method Details

    • ssafy

      public static Itree ssafy(Itree funBody, Supplier<String> uniqSupplier)
      Converts funBody into SSA form.
      Parameters:
      funBody - a fun body to convert. It must have been checked by SsaChecker.
      uniqSupplier - supplies unique strings used for LocalVar.Generated.
      Returns:
      ssa-fied fun body.