• 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...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...