• jarin's avatar
    [turbofan] Check node input/use consistency for changed operators and new nodes. · 1c2867c0
    jarin authored
    Verifies consistency of node inputs and uses:
    - node inputs should agree with the input count computed from the node's operator.
    - effect inputs should have effect outputs (or be a sentinel).
    - control inputs should have control outputs (or be a sentinel).
    - frame state inputs should be frame states (or be a sentinel).
    - if the node has control uses, it should produce control.
    - if the node has effect uses, it should produce effect.
    - if the node has frame state uses, it must be a frame state.
    
    I also removed some tests, either because they did not seem to be useful (scheduler) or they tested dead functionality (diamond effect phi).
    
    Review URL: https://codereview.chromium.org/1368913002
    
    Cr-Commit-Position: refs/heads/master@{#30927}
    1c2867c0
node-properties.cc 9.6 KB