• Leszek Swirski's avatar
    Revert "[debug] CHECK that a function's context is always available" · 82934595
    Leszek Swirski authored
    This reverts commit 911c7170.
    
    Reason for revert: Reverting because of the revert in https://crrev.com/c/3867311
    
    Original change's description:
    > [debug] CHECK that a function's context is always available
    >
    > After https://crrev.com/c/3854501 has landed, we no longer have to
    > handle the case that we do not find a function's context in the
    > scope iterator even though the function requires one.
    >
    > This CL renames `NeedsAndHasContext` to `NeedsContext` since we
    > always find a scope's context now. Additionally we turn this
    > assumption into a dedicated check.
    >
    > R=​bmeurer@chromium.org
    >
    > Bug: chromium:1246907
    > Change-Id: I6458df76689c0bfa6d6b2f8c421f9ce481855547
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3865153
    > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    > Commit-Queue: Simon Zünd <szuend@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#82848}
    
    Bug: chromium:1246907
    Change-Id: I1c8849ce60533f5c6da99f432bf1902ade47bb8b
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3866174
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Owners-Override: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82858}
    82934595
debug-scopes.h 5.54 KB