• Maya Lekova's avatar
    Migrate PerIsolateAssertScope storage to separate booleans · d11ccc5c
    Maya Lekova authored
    This CL modifies the underlying storage of PerIsolateAssertScope from
    a bitfield to separate booleans. This slightly increases the space taken
    by the isolate, but allows for easier access to the individual fields,
    which is a prerequisite for implementing assertion scopes in TurboFan.
    
    It also refactors the template PerIsolateAssertScope class to separate
    simple C++ scope classes, defined through macros.
    
    Bug: chromium:1218898
    Change-Id: Ia5e43352ebba28be6f013376b75f13ec8d5dc972
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2975303
    Commit-Queue: Maya Lekova <mslekova@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75369}
    d11ccc5c
assert-scope.cc 4.75 KB