• Peter Marshall's avatar
    [runtime] Remove the construct_stub field of the SFI · 63ecddc8
    Peter Marshall authored
    Don't dispatch based on the construct_stub field anymore. Rather than
    read it out and jump to the construct stub, we can switch on the
    builtin_id.
    
    Builtins will always have builtin_id as a Smi, so this signals we need
    to jump to JSBuiltinsConstructStub. The only exception is for uncompiled
    functions, which will have kCompileLazy as the builtin_id, but need to
    jump to the generic stub instead.
    
    API function calls will have a FunctionTemplateInfo in the SFI
    function_data field, and need to go to the builtins stub as well.
    
    The final case is everything else, which should go to the generic stub.
    
    Bug: v8:7503
    Change-Id: I14790a5f9784dc0d940bf10a05f5310026e1d482
    Reviewed-on: https://chromium-review.googlesource.com/980941Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52345}
    63ecddc8
Name
Last commit
Last update
..
OWNERS Loading commit data...
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
profiler-listener.cc Loading commit data...
profiler-listener.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
tick-sample.cc Loading commit data...
tick-sample.h Loading commit data...
tracing-cpu-profiler.cc Loading commit data...
tracing-cpu-profiler.h Loading commit data...
unbound-queue-inl.h Loading commit data...
unbound-queue.h Loading commit data...