From 162230208eede3e8db030f0498a70cbf81ca143a Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Wed, 10 Feb 2021 13:35:17 +0100 Subject: QV4::Lookup: update comment about gc assumption Change-Id: I13304631a9870874fb130cd9e6598065fc952a71 Reviewed-by: Ulf Hermann --- src/qml/jsruntime/qv4lookup_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/qml/jsruntime/qv4lookup_p.h b/src/qml/jsruntime/qv4lookup_p.h index 6232d78a57..5e100a8d0f 100644 --- a/src/qml/jsruntime/qv4lookup_p.h +++ b/src/qml/jsruntime/qv4lookup_p.h @@ -69,6 +69,7 @@ struct Q_QML_PRIVATE_EXPORT Lookup { bool (*setter)(Lookup *l, ExecutionEngine *engine, Value &object, const Value &v); }; // NOTE: gc assumes the first two entries in the struct are pointers to heap objects or null + // or that the least significant bit is 1 (see the Lookup::markObjects function) union { struct { Heap::Base *h1; -- cgit v1.2.3