Is there an easy way to ask @ChakraCore to compile some JavaScript and get the code as an array of bytes?
No, I'm trying to figure out what compiled code actually gets executed on the machine. What is "-dump:lowerer"?
-
-
There are multiple stages a code can be represented. ChakraCore client supports dumping i.e bytecode, lowerer based on optimization
-
I have no problem calling a function 10,000 times to get it compiled in to assembler. I just want to know how I can get the code.
-
and unfortunately I'm not familiar enough with the project to know what you mean by "-dump:lowerer"; could you elaborate? feel free to DM!
-
ch/ch.exe -dump:lowerer target.js Compile ChakraCore in debug mode
End of conversation
New conversation -
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.