With the debug build of the V8 shell there are ways of displaying the
generated code. One is to use the option --print-code

$ ./shell_g --print-code

this will print all the code generated. Another option is to use the
internal debugger object like this

$ ./shell_g --expose-debug-as d
> function f()}
> d.Debug.dsiassemble(f)

this will print the code for function f. In both cases the additional option
--debug-code will add more comments to the code output.

Regards,
Søren

On Wed, May 26, 2010 at 07:33, zaheer <[email protected]> wrote:

> hi,
>
> Is there a way to view the V8 generated assembly code for the
> different javascript functions (user defined, builtin)
>
> thanks,
> Zaheer
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to