Closed Bug 1425986 Opened 6 years ago Closed 2 years ago

--disable-ion should disable wasm signal handler

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1627255
Tracking Status
firefox59 --- affected

People

(Reporter: glandium, Unassigned)

Details

When building with --disable-ion, the wasm signal handler is still setup, which is useless. In fact, it seems wasm should not be built at all.
Luke, what do you think?
Flags: needinfo?(luke)
Priority: -- → P2
(In reply to Mike Hommey [:glandium] from comment #0)
> In fact, it seems wasm should not be built at all.

We used to not build most of js/src/jit/ with --disable-ion but now we just use a dummy backend (js/src/jit/none/), to avoid having to sprinkle lots of #ifdefs everywhere.
Hm, --disable-ion....  Wasm has a baseline compiler now, which does not use Ion.  But I guess --disable-ion reallly means 'disable all machine code generation'?
Yes, it's a bad name for --disable-jit.
AFAIK, --disable-ion isn't a shipping configuration for which we care about performance, so the only criteria here is what makes the code simpler.  If slicing things differently simplifies things, patches welcome.
Flags: needinfo?(luke)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.