__ mov(eax, FieldOperand(edi, JSFunction::kCodeEntryOffset)); __ sub(eax, Immediate(Code::kHeaderSize - kHeapObjectTag));
Best regards, Michael On Wed, Jun 19, 2013 at 1:31 PM, Valeriy Savchenko <[email protected]>wrote: > Hello, > > I need to generate assembly that will be checking the *Code::Kind *for > some *JSFunction*. The main problem to find the *Code* itself. So... > > Is there any way to get *Code* for the known *JSFunction* to use in > generated assembly? > > Thank you > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
