• Benedikt Meurer's avatar
    [builtins] Improve CallApiCallback calling convention. · c142e0a2
    Benedikt Meurer authored
    Refactor the CallApiCallback builtin to
    
    - pass the context as with other stubs, and
    - pass holder and call data in registers.
    
    This avoids having to place holder and call data onto the stack, and
    thus makes it possible to easily call the CallApiCallback builtin from
    other builtins while just forwarding the (stack) arguments. The idea
    is to use this in the future to optimize the general case of calling
    into any API method via a FunctionTemplateInfo and doing appropriate
    security and/or interface checks upfront as necessary (eventually making
    the HandleApiCall C++ builtin obsolete at some point).
    
    Bug: v8:8820, chromium:913553
    Change-Id: I10c0065016df4d0c24bac3d46945ea597b65ed02
    Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
    Reviewed-on: https://chromium-review.googlesource.com/c/1469821
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59551}
    c142e0a2
Name
Last commit
Last update
..
assembler-ia32-inl.h Loading commit data...
assembler-ia32.cc Loading commit data...
assembler-ia32.h 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...
register-ia32.h Loading commit data...
sse-instr.h Loading commit data...