• bmeurer's avatar
    [runtime] Share constructor/non-constructor bound function maps. · 6f81ee6a
    bmeurer authored
    Properly share both the constructor and the non-constructor maps
    for bound functions. Previously we had only the non-constructor
    map shared on the native context, and we had to create a new map
    for every bound function whose [[BoundTargetFunction]] is a
    constructor (in the ES6 sense).
    
    This should repair the most recent regression on Speedometer.
    
    CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_nosnap_dbg
    R=jarin@chromium.org
    BUG=chromium:536114,chromium:535408,v8:4430
    LOG=n
    
    Review URL: https://codereview.chromium.org/1379323002
    
    Cr-Commit-Position: refs/heads/master@{#31086}
    6f81ee6a
runtime-function.cc 20 KB