• ishell's avatar
    [es6] Better support for built-ins subclassing. · cd5f4830
    ishell authored
    Create proper initial map for original constructor (new.target) instead of doing prototype transition on the base constructor's initial map. This approach fixes in-object slack tracking for subclass instances.
    This CL also fixes subclassing from String.
    
    BUG=v8:3101, v8:3330
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1427483002
    
    Cr-Commit-Position: refs/heads/master@{#31680}
    cd5f4830
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...