• Leszek Swirski's avatar
    [sfi] Remove opt_count · e47d1757
    Leszek Swirski authored
    Remove opt_count from SFI, which only had two real uses:
    
      1. Detecting OSR in tests -- replaced with a stack walk in
         %GetOptimizationStatus
      2. Naming optimization log files -- replaced with the
         optimization id
    
    This allows us to remove a field from the SFI, moving the
    bailout reason into the counters field.
    
    As a drive-by, add optimization marker information (e.g.
    marked for optimization) to the optimization status.
    
    Change-Id: Id77deb5dd5439dfba058a7e1e1748de26b717d0d
    Reviewed-on: https://chromium-review.googlesource.com/592028Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47009}
    e47d1757
array-literal-transitions.js 6.02 KB