• 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
..
assembler-ia32-inl.h Loading commit data...
assembler-ia32.cc Loading commit data...
assembler-ia32.h Loading commit data...
code-stubs-ia32.cc Loading commit data...
codegen-ia32.cc Loading commit data...
constants-ia32.h Loading commit data...
cpu-ia32.cc Loading commit data...
deoptimizer-ia32.cc Loading commit data...
disasm-ia32.cc Loading commit data...
frame-constants-ia32.cc Loading commit data...
frame-constants-ia32.h Loading commit data...
interface-descriptors-ia32.cc Loading commit data...
macro-assembler-ia32.cc Loading commit data...
macro-assembler-ia32.h Loading commit data...
simulator-ia32.cc Loading commit data...
simulator-ia32.h Loading commit data...
sse-instr.h Loading commit data...