Class methods should be non enumerable
authorarv <arv@chromium.org>
Wed, 4 Feb 2015 17:23:07 +0000 (09:23 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Feb 2015 17:23:17 +0000 (17:23 +0000)
commit176b68d11a2b485d9568d2e7fd03e6ed7b67dd54
treef6db58ee2b488336901750b6e30f1ad2b963e570
parentf0511a8d802974404a7827ecb73e4e295e034889
Class methods should be non enumerable

Class methods and accessors (both prototype and static) should be
non enumerable.

BUG=v8:3330
LOG=Y
R=dslomov@chromium.org

Review URL: https://codereview.chromium.org/896643003

Cr-Commit-Position: refs/heads/master@{#26437}
16 files changed:
src/arm/full-codegen-arm.cc
src/arm64/full-codegen-arm64.cc
src/compiler/ast-graph-builder.cc
src/ia32/full-codegen-ia32.cc
src/mips/full-codegen-mips.cc
src/mips64/full-codegen-mips64.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime/runtime-classes.cc
src/runtime/runtime-object.cc
src/runtime/runtime.h
src/x64/full-codegen-x64.cc
src/x87/full-codegen-x87.cc
test/mjsunit/harmony/classes.js
test/mjsunit/harmony/computed-property-names-classes.js