• Jakob Gruber's avatar
    [ia32] Add scopes and verification to assist in root register ports · a9716807
    Jakob Gruber authored
    In the near future all ia32 ASM builtins must be audited & possibly refactored
    to ensure they do not address ebx (= kRootRegister).
    
    This CL adds mechanisms to verify ebx usage. SupportsRootRegisterScope marks
    regions that are root-register-ready (i.e. does not use ebx).
    AllowExplicitEbxAccessScope marks regions that are explicitly allowed to use
    ebx, e.g. because they spill and restore its value at all boundaries and do not
    contain any root-relative accesses.
    
    Consistency is verified by calling the new AssertIsAddressable function at
    strategic spots in the Assembler.
    
    All of this code is temporary and should be removed once ia32 fully supports
    the kRootRegister.
    
    Bug: v8:6666
    Change-Id: I7c5514794db0da889bdae9e3c23bc0d54780879d
    Reviewed-on: https://chromium-review.googlesource.com/1226805Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55992}
    a9716807
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...