• bmeurer's avatar
    [runtime] Migrate several Date builtins to C++. · 065e9c53
    bmeurer authored
    Almost all of the Date builtins always call into C++ at least once
    anyway, so parsing, compiling and executing the JavaScript wrappers
    is just a waste of time.  The most important part here is the Date
    constructor itself, which is one of the blockers for new.target in
    TurboFan, because compiling the Date constructor takes too much time
    with TurboFan (for no reason since we end up in C++ anway).
    
    R=cbruni@chromium.org
    
    Review URL: https://codereview.chromium.org/1556333002
    
    Cr-Commit-Position: refs/heads/master@{#33109}
    065e9c53
date.h 9.8 KB