Re: Getting a virtual functions VT lookup index

2006-10-18 Thread Brendon Costa
Brendon Costa wrote: > Hi all, > > How can I find a FUNCTION_DECL node from a CALL_EXPR node for virtual > function calls? > Well I have managed to achieve this, though I don't know if it is the best way to do so. For the sake of people that may find this question in the list archives I will sho

Getting a virtual functions VT lookup index

2006-10-17 Thread Brendon Costa
Hi all, How can I find a FUNCTION_DECL node from a CALL_EXPR node for virtual function calls? Note: I am not after the node for the function that will be executed at runtime as I know this is not possible to determine in most situations. Thanks for any help in advance, Brendon. -