diff options
Diffstat (limited to 'src/v4/qv4objectiterator.cpp')
-rw-r--r-- | src/v4/qv4objectiterator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/v4/qv4objectiterator.cpp b/src/v4/qv4objectiterator.cpp index a0cd1a69ca..29b0c96482 100644 --- a/src/v4/qv4objectiterator.cpp +++ b/src/v4/qv4objectiterator.cpp @@ -96,7 +96,7 @@ PropertyDescriptor *ObjectIterator::next(String **name, uint *index) int k = arrayNode->key(); p = current->arrayAt(k); arrayNode = arrayNode->nextNode(); - if (p && (!(flags & EnumberableOnly) || p->isEnumerable())) { + if (p && (!(flags & EnumberableOnly) || p->attrs.isEnumerable())) { arrayIndex = k + 1; *index = k; return p; @@ -109,7 +109,7 @@ PropertyDescriptor *ObjectIterator::next(String **name, uint *index) while (arrayIndex < current->arrayDataLen) { p = current->arrayAt(arrayIndex); ++arrayIndex; - if (p && p->attrs.type() != PropertyAttributes::Generic && (!(flags & EnumberableOnly) || p->isEnumerable())) { + if (p && p->attrs.type() != PropertyAttributes::Generic && (!(flags & EnumberableOnly) || p->attrs.isEnumerable())) { *index = arrayIndex - 1; return p; } @@ -138,7 +138,7 @@ PropertyDescriptor *ObjectIterator::next(String **name, uint *index) p = current->memberData + memberIndex; ++memberIndex; - if (!(flags & EnumberableOnly) || p->isEnumerable()) { + if (!(flags & EnumberableOnly) || p->attrs.isEnumerable()) { *name = n; return p; } |