From ac8afca822031f3039dce31525a6ab48c741e73b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 30 Sep 2013 20:57:57 +0200 Subject: Remove some more uses of QV4::Value All remaining uses should be GC safe now. Change-Id: I05c962de6ab896f108f70caa1bf937a24e67bfe1 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4mm.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/qml/jsruntime/qv4mm.cpp') diff --git a/src/qml/jsruntime/qv4mm.cpp b/src/qml/jsruntime/qv4mm.cpp index 54fee80d72..f6adadf719 100644 --- a/src/qml/jsruntime/qv4mm.cpp +++ b/src/qml/jsruntime/qv4mm.cpp @@ -579,12 +579,6 @@ void MemoryManager::unprotect(Managed *m) m_d->protectedObject.remove(m); } -static inline void add(QVector &values, const Value &v) -{ - if (Object *o = v.asObject()) - values.append(o); -} - void MemoryManager::setExecutionEngine(ExecutionEngine *engine) { m_d->engine = engine; -- cgit v1.2.3