[webkit-dev] Name of a JS function

Zoltan Herczeg zherczeg at inf.u-szeged.hu
Tue Jun 16 10:13:18 PDT 2009


Thank you. And how can I access it in JIT::privateCompileMainPass()? I
could only find m_codeBlock->source()->url() and
m_codeBlock->sourceOffset() methods, but I would prefer a readable
identifier.

Zoltan

> Function objects have a property named "name", and also a property
> named "displayName".
>
> Geoff
>
> On Jun 16, 2009, at 3:55 AM, Zoltan Herczeg wrote:
>
>> Hi,
>>
>> how can I extract the name of a JS function in JIT.cpp?
>>
>> Zoltan




More information about the webkit-dev mailing list