Package mini_c

Class ERTLgraph


  • class ERTLgraph
    extends java.lang.Object
    graphe de flot de contrôle (d'une fonction) c'est un dictionnaire qui associe une instruction de type RTL à une étiquette de type Label
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Map<mini_c.Label,​ERTL> graph  
    • Constructor Summary

      Constructors 
      Constructor Description
      ERTLgraph()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) mini_c.Label add​(ERTL instr)
      ajoute une nouvelle instruction dans le graphe et renvoie son étiquette
      (package private) void print​(mini_c.Label entry)
      imprime le graphe (pour debugger)
      (package private) void put​(mini_c.Label l, ERTL instr)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • graph

        java.util.Map<mini_c.Label,​ERTL> graph
    • Constructor Detail

      • ERTLgraph

        ERTLgraph()
    • Method Detail

      • add

        mini_c.Label add​(ERTL instr)
        ajoute une nouvelle instruction dans le graphe et renvoie son étiquette
      • put

        void put​(mini_c.Label l,
                 ERTL instr)
      • print

        void print​(mini_c.Label entry)
        imprime le graphe (pour debugger)