• arv's avatar
    Move object literal checking into checker classes · b004b1d8
    arv authored
    This removes the duplicate property check from object literals.
    
    Instead we repurpose the ObjectLiteralChecker into two cases, implemented
    by two subclasses to ObjectLiteralCheckerBase called ObjectLiteralChecker
    and ClassLiteralChecker.
    
    The object literal checker now only checks for duplicate __proto__ fields in
    object literals.
    
    The class literal checker checks for duplicate constructors, non constructor
    fields named constructor as well as static properties named prototype.
    
    BUG=v8:3819
    LOG=Y
    R=adamk, dslomov@chromium.org
    
    Review URL: https://codereview.chromium.org/873823003
    
    Cr-Commit-Position: refs/heads/master@{#26336}
    b004b1d8
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...