Package gnu.expr

Class VarValueTracker

java.lang.Object
gnu.expr.VarValueTracker

public class VarValueTracker extends Object
Used for SSA (Static Single Assignment) analysis.
  • Constructor Details

  • Method Details

    • forkPush

      public static void forkPush(InlineCalls visitor)
      Called when starting a new fork, for example a new IfExp.
    • forkNext

      public void forkNext()
      Called when switching to a new branch of fork, for example the else clause of a new IfExp.
    • forkPop

      public static void forkPop(InlineCalls visitor)
    • noteUnitialized

      public void noteUnitialized(Declaration decl)
      Note that decl is uninitialized.
    • noteUnitialized

      public void noteUnitialized(ScopeExp scope)
    • noteSet

      public void noteSet(Declaration decl, IntNum source)