After some debugging, here is the trace of function calls for property 
access in v8 :

 ic/ic.cc : Load 

     objects.cc : GetProperty

        lookup.cc : GetDataValue

             lookup.cc : FetchValue 

This is the generic flow, based on the kind of properties you are trying to 
access (for example, array or objects) it may slightly vary.



On Monday, 21 September 2015 18:18:32 UTC+5:30, dmonji wrote:
>
> I want to understand the property accesses in JavaScript programs using v8.
>
> I am looking for property access code in objects.cc in v8. But I am yet 
> not successful in figuring that out. 
>
> Can someone point to related function or piece of code?
>
> I am trying to print the list of properties accessed in the input program.
>

-- 
-- 
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/d/optout.

Reply via email to