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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: sstangl, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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.

Comment 1

4 years ago
Makes sense.

Comment 2

4 years ago
/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
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.