• jgruber's avatar
    [csa] Load the stack limit from smi roots · 507c29c9
    jgruber authored
    Loading a root generates a kRootRegister-relative load on all
    architectures but ia32 (where we currently don't have a root
    register).
    
    This is preferable to loading an external reference, which will
    usually embed an absolute pointer into the generated code, or add an
    indirection when within an embedded builtin.
    
    Bug: v8:6666
    Change-Id: I1a93b1325b375bfcf3547977760e1d9ada1d0ee4
    Reviewed-on: https://chromium-review.googlesource.com/1095260
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53656}
    507c29c9
code-stub-assembler.cc 440 KB