[webkit-dev] Where to call Codeblock::dump from within webcore

Andy Wingo wingo at igalia.com
Fri Apr 20 07:25:53 PDT 2012


On Wed 18 Apr 2012 21:28, pgsery <pgsery at swcp.com> writes:

> I want to call CodeBlock::dump from webcore in addition to the jsc
> shell. I've compiled webkit-1.6.1 with the --enable-debug option,
> modified dump to print to a file, instead of stdout, and set
> options.dump=true. This works from the shell, but now I need to find
> where to call dump from within webkit.

If I understand you correctly, call
ByteCompiler::setDumpsGeneratedCode(true).  Note that in the latest
nightlies, this is available in regular builds.

Andy
-- 
http://wingolog.org/


More information about the webkit-dev mailing list