• bmeurer's avatar
    [runtime] Sanitize %NewClosure runtime entries. · 6b3c070d
    bmeurer authored
    There are now two runtime entries %NewClosure and %NewClosure_Tenured,
    with the same signature (one parameter, the SharedFunctionInfo, and the
    context of the caller).
    
    Also remove the HFunctionLiteral special case instruction from Crankshaft,
    as HCallWithDescriptor with FastNewClosureStub or HCallRuntime with
    either %NewClosure or %NewClosure_Tenured can easily do that for you.
    
    Also remove the redundant context parameter from the JSCreateClosure
    operator, because every JS operator already takes a context input.
    
    CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_nosnap_dbg
    
    Review URL: https://codereview.chromium.org/1329293003
    
    Cr-Commit-Position: refs/heads/master@{#30671}
    6b3c070d
js-typed-lowering-unittest.cc 40.7 KB