getPropertyNames caching is invalid when the prototype chain contains objects with custom getPropertyNames
https://bugs.webkit.org/show_bug.cgi?id=29214

Reviewed by Sam Weinig.

Add a flag to TypeInfo to indicate whether a type overrides getPropertyNames.
This flag is used to make sure that caching of the property name data is safe.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed