Andrew
Andrew

Reputation: 3442

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?

Upvotes: 2

Views: 542

Answers (1)

evilpie
evilpie

Reputation: 2941

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.

Upvotes: 4

Related Questions