Saturday, 15 January 2011

v8 - Print ion monkey generated code -



v8 - Print ion monkey generated code -

is there way dump dissasembly of genrated code each ion (lir) instruction. similar --print-opt-code --code-comments in v8?

ionflags=codegen js --ion-offthread-compile=off app.js

you need debug build of spidermonkey. after running you'll have code generator log in stderr. in order find specific function search log "emitting code script".

v8 compiler-optimization spidermonkey

No comments:

Post a Comment