• jarin's avatar
    [turbofan] Make MachineType a pair of enums. · bb2a830d
    jarin authored
    MachineType is now a class with two enum fields:
    - MachineRepresentation
    - MachineSemantic
    
    Both enums are usable on their own, and this change switches some places from using MachineType to use just MachineRepresentation. Most notably:
    - register allocator now uses just the representation.
    - Phi and Select nodes only refer to representations.
    
    Review URL: https://codereview.chromium.org/1513543003
    
    Cr-Commit-Position: refs/heads/master@{#32738}
    bb2a830d
tail-call-optimization-unittest.cc 7.97 KB