• ishell's avatar
    Fix Function subclassing. · dddcd0ac
    ishell authored
    Function subclasses did not have function properties installed (name, prototype, etc.).
    Now when an instance of a Function subclass is created it gets initial map that corresponds
    to the language mode of the function body. The language mode dependent maps are cached as
    special transitions on initial map of the subclass constructor.
    
    BUG=v8:4597, v8:3101, v8:3330
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1510753005
    
    Cr-Commit-Position: refs/heads/master@{#32764}
    dddcd0ac
reflect-construct.js 12.5 KB