• zhengxing.li's avatar
    X87: [turbofan] Make MachineType a pair of enums. · da7c5a73
    zhengxing.li authored
      port bb2a830d (r32738)
    
      original commit message:
      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.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1520793002
    
    Cr-Commit-Position: refs/heads/master@{#32778}
    da7c5a73
instruction-selector-x87.cc 43.8 KB