• jgruber's avatar
    [builtins] Add DeserializeLazy builtin and feature flags · ae8b5619
    jgruber authored
    This adds an initial implementation of the DeserializeLazy builtin and
    runtime function, as well as --lazy-deserialization and
    --trace-lazy-deserialization feature flags.
    
    Since lazy deserialization itself isn't implemented yet, DeserializeLazy
    simply replaces itself with the appropriate builtin. The builtin_id is
    loaded from the SFI, and the builtin itself is loaded from the Builtins
    table.
    
    Bug: v8:6624
    Change-Id: I4ef8c3030a8cda19a086b8e569a24d97213b5ed8
    Reviewed-on: https://chromium-review.googlesource.com/643289Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47757}
    ae8b5619
runtime-internal.cc 21.5 KB