• Peter Marshall's avatar
    [runtime] Use JSBuiltinsConstructStub for all builtins where possible · 4af7efc1
    Peter Marshall authored
    In order to remove the construct_stub field of the SFI we need all
    construct stubs to be the same, and do any branching at runtime
    instead. For builtins we don't need to set the construct stub because
    the builtins construct stub will call into it for us.
    
    There should only be two builtins left without the builtins construct
    stub: Array and InternalArray, which are special cases that need to
    be dealt with in another CL.
    
    Bug: v8:7503
    Change-Id: If0d419399a9ee22c09cf2a5a3d3dbea7a04dee77
    Reviewed-on: https://chromium-review.googlesource.com/968862Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52046}
    4af7efc1
bootstrapper.cc 239 KB