Skip to content
  • Erik Verbruggen's avatar
    V4 IR: make statement numbering fixed and clean up statement worklists. · 4a2c3f31
    Erik Verbruggen authored
    
    
    Every statement in the IR now gets a fixed unique number. This number
    can be used to store statements or information for a statement into an
    array where the number is used as an index. This removes the need for
    many hashes.
    
    In the process of changing the code the two statement worklists in the
    optimizer are merged into one. A single instance can be (and is) re-used
    by the various algorithms.
    
    Change-Id: I8f49ec7b1df79cf6914c5747f5d2c994dad110b2
    Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
    4a2c3f31