• jgruber's avatar
    [builtins] Introduce a proper BUILTIN frame type. · f47b9e98
    jgruber authored
    This adds a new BUILTIN frame type, which supports variable number of
    arguments for builtins implemented in hand-written native code (we will
    extend this mechanism to TurboFan builtins at some point). Convert the
    Math.max and Math.min builtins to construct a BUILTIN frame if required.
    
    This does not yet work for C++ builtins, but that'll be the next step.
    
    R=bmeurer@chromium.org, jarin@chromium.org
    BUG=v8:4815
    LOG=n
    
    Review-Url: https://codereview.chromium.org/2069423002
    Cr-Commit-Position: refs/heads/master@{#37051}
    f47b9e98
frames-inl.h 8.58 KB