Search code examples
javascriptshellbytecodespidermonkey

SpiderMonkey js shell won't bump bytecode?


I downloaded the nightly js-shell for mac from mozilla's ftp site.

If I run:

~/Downloads/jsshell-mac/js -D --execute="var a = '100'"

I assume I would get bytecode output. Instead, I get nothing.

Am I missing something obvious?


Solution

  • It seems like this mentioned nowhere, but for this option to work you will need a debug build. For example this build should work, or you can get the source and do the building yourself.