Factor out protoHasArray and hasAccessorProperty
authorPeter Varga <pvarga@inf.u-szeged.hu>
Thu, 15 Aug 2013 13:54:15 +0000 (15:54 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 17 Aug 2013 10:51:56 +0000 (12:51 +0200)
commit221f93d8c76ae5e5e4b6d73b1b597213abbbc5f5
tree58d943799116b746c593659a5c5eb6e658ae95a7
parent900ff8ed90468fc89f4800c793dd3cde3e586d21
Factor out protoHasArray and hasAccessorProperty

The Object::protoHasArray() function returns true if any object in the
prototype chain contains an array element. The new member
hasAccessorProperty of the Managed class is set true if the object
has any accessor property.

Change-Id: Ic29d303eb058d4faed2a47ed8fab18e376ccba68
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jsruntime/qv4arrayobject.cpp
src/qml/jsruntime/qv4managed_p.h
src/qml/jsruntime/qv4object.cpp
src/qml/jsruntime/qv4object_p.h