Package mini_c

Class RTLgraph


  • class RTLgraph
    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<Label,​RTL> graph  
    • Constructor Summary

      Constructors 
      Constructor Description
      RTLgraph()  
    • Method Summary

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

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

      • graph

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

      • RTLgraph

        RTLgraph()
    • Method Detail

      • add

        Label add​(RTL instr)
        ajoute une nouvelle instruction dans le graphe et renvoie son étiquette
      • print

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