This was still using the older (and slower) member of Lookup. Instead
call the function pointer to resolve the lookup.
Change-Id: I840b063ce4cc71f71be9be23ea7ce164887c2a91
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
else
baseObject = __qmljs_convert_to_object(context, thisObject);
- PropertyAttributes attrs;
- Property *p = l->lookup(baseObject, &attrs);
- if (!p)
- context->throwTypeError();
- Value func = attrs.isData() ? p->value : baseObject->getValue(p, attrs);
+ Value func;
+ l->getter(l, &func, Value::fromObject(baseObject));
FunctionObject *o = func.asFunctionObject();
if (!o)
context->throwTypeError();