The method should not get called repeatedly with the same member,
but currently this still happens (esp. as we have the v4 engine in TLS),
so let's make the call safe.
Change-Id: Icc3bce48af67f77c7b64040685b1c861c23f5b8d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
engine->identifierCache->toIdentifier(string);
uint id = string->identifier | (data.flags() << 27);
- assert(propertyTable.constFind(id) == propertyTable.constEnd());
+ if (propertyTable.constFind(string->identifier) != propertyTable.constEnd())
+ return changeMember(string, data, index);
QHash<int, InternalClass *>::const_iterator tit = transitions.constFind(id);