diff options
author | Robin Burchell <robin.burchell@crimson.no> | 2018-06-01 01:27:47 +0200 |
---|---|---|
committer | Robin Burchell <robin.burchell@crimson.no> | 2018-06-27 16:13:42 +0000 |
commit | 3cda7df8ac8fc6f9a5562e89a4b047449dc3b2bc (patch) | |
tree | 199ab0e72318b88b64f9833c6fffd12a94b5db3d /src/qml/jsruntime/jsruntime.pri | |
parent | b4d31c9ff5f0c5821ea127c663532d9fc2cae43e (diff) |
Map/Set: Introduce QV4::ESTable
This removes the duplication of code between Map and Set by placing it
in a shared location, and will hopefully be a touch more efficient than
using ArrayObject.
In a followup patch, it will get faster, too.
Note: As a bonus, this also fixed a few more test failures: forEach
wasn't handling the object being changed during iteration.
Task-number: QTBUG-68545
Change-Id: I8bf6f9c5b2de030a02ce27a23b8c1da431ffeda4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/jsruntime.pri')
-rw-r--r-- | src/qml/jsruntime/jsruntime.pri | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/jsruntime/jsruntime.pri b/src/qml/jsruntime/jsruntime.pri index 34eea36f0a..8b8732590f 100644 --- a/src/qml/jsruntime/jsruntime.pri +++ b/src/qml/jsruntime/jsruntime.pri @@ -52,7 +52,8 @@ SOURCES += \ $$PWD/qv4dataview.cpp \ $$PWD/qv4vme_moth.cpp \ $$PWD/qv4mapobject.cpp \ - $$PWD/qv4mapiterator.cpp + $$PWD/qv4mapiterator.cpp \ + $$PWD/qv4estable.cpp qtConfig(qml-debug): SOURCES += $$PWD/qv4profiling.cpp @@ -116,7 +117,8 @@ HEADERS += \ $$PWD/qv4dataview_p.h \ $$PWD/qv4vme_moth_p.h \ $$PWD/qv4mapobject_p.h \ - $$PWD/qv4mapiterator_p.h + $$PWD/qv4mapiterator_p.h \ + $$PWD/qv4estable_p.h qtConfig(qml-sequence-object) { HEADERS += \ |