Print_Code will output information for any Code object (builtins, bytecode 
handlers, JIT-ed code, even IC stubs AFAIU) — so it should already do that for 
you.

The main limitation WRT optimized code is, if some part of the fn is inlined, 
it won’t tell you anything about the code that was inlined/where it came from 
(I think)

> On Jun 18, 2018, at 5:04 PM, Thomson Tan <lilo...@gmail.com> wrote:
> 
> Thanks. This works perfectly for bytecode handlers. Is there any similar 
> function for optimized JIT code, like print out the function name with some 
> extra information?
> -- 
> -- 
> v8-users mailing list
> v8-users@googlegroups.com
> 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 v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to