• Jakob Gruber's avatar
    Refactor tiering-related JSFunction methods · aad3e727
    Jakob Gruber authored
    - Add the Isolate as an explicit param (we already have it at all
      callsites)
    - Pass an explicit CodeKind param to MarkForOptimization in preparation
      for Maglev.
    - Split EnsureFeedbackVector into that, plus
      CreateAndAttachFeedbackVector for when we know it has to be created.
    
    Bug: v8:7700
    Change-Id: Ie9022deccd31d472d6df3d442b25583af5569ab0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3497383
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#79318}
    aad3e727
debug-coverage.cc 29.1 KB