u means native code or opcode or IR?
-
-
-
I want to see the final assembled, executable machine code.
-
v8: ./d8 --print_code or --print_all_code chakracore: ./ch.exe --dump:encoder(It is not final machine code ,but likely)
-
No :( P:\Work\ChakraCore>\dev\ChakraCore\Build\VcBuild\bin\x64_debug\ch.exe --dump:enoder "HelloWorld.js" Hello, world! P:\Work\ChakraCore>
-
Or you can do this(u must call the function more than twice): ch.exe test.js -bgjit- -mic:1 -off:simplejit -dump:encoderpic.twitter.com/nuSUYvpawJ
-
Got that working, thanks! But unfortunately this does not produce a byte stream of assembled code; it looks like pseudo-ssembly...
-
IIRC the highest optimization compiles Javascript into "pure" machine instructions, which can be executed as-is. Is this true for Chakra?
-
Yes,if you debug the it, will find the machine code. If u want to print it,u can look the "ch.exe -?" look for what phases you want to dump.
End of conversation
New conversation -
-
-
./ch.exe is the debug build of chakracore ./d8 is the debug build of V8,and u need add some args when build it:)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.