aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4estable_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4estable_p.h')
-rw-r--r--src/qml/jsruntime/qv4estable_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4estable_p.h b/src/qml/jsruntime/qv4estable_p.h
index c665467760..f54fc37a7b 100644
--- a/src/qml/jsruntime/qv4estable_p.h
+++ b/src/qml/jsruntime/qv4estable_p.h
@@ -64,7 +64,7 @@ public:
ESTable();
~ESTable();
- void markObjects(MarkStack *s);
+ void markObjects(MarkStack *s, bool isWeakMap);
void clear();
void set(const Value &k, const Value &v);
bool has(const Value &k) const;
@@ -73,6 +73,8 @@ public:
uint size() const;
void iterate(uint idx, Value *k, Value *v);
+ void removeUnmarkedKeys();
+
private:
Value *m_keys = nullptr;
Value *m_values = nullptr;