Closed Bug 850052 Opened 11 years ago Closed 11 years ago

OdinMonkey: Permit --asmjs and --no-asmjs shell arguments.

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sstangl, Unassigned)

References

Details

Lowest of low priorities.

At some point, we'll probably also need to wrap AsmJS code with #ifdef ASMJS, so that platforms that don't support Ion can still use SpiderMonkey. Identifying and wrapping AsmJS sections can fix both problems at the same time.

This can be done after initial landing so as to not cause delays over busywork, but probably should be done before promotion to Aurora.
Makes sense.
/moz/mi/js/src/d/shell $ js --no-asmjs
js> function f() { "use asm"; function g() {} return g }
warning: asm.js type error: Disabled by javascript.options.experimental_asmjs in about:config
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.