Closed Bug 1531670 Opened 7 months ago Closed 7 months ago

Replace ENABLE_WASM_GENERALIZED_TABLES with ENABLE_WASM_REFTYPES

Categories

(Core :: Javascript: WebAssembly, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: lth, Assigned: lth)

Details

Attachments

(1 file)

ENABLE_WASM_GENERALIZED_TABLES is an old define from the time when ENABLE_WASM_GC also covered the reference types. It depends on the new ENABLE_WASM_REFTYPES, but it does not make any sense to define ENABLE_WASM_REFTYPES without also defining ENABLE_WASM_GENERALIZED_TABLES, so the latter name can be removed.

Replace all uses of ENABLE_WASM_GENERALIZED_TABLES with
ENABLE_WASM_REFTYPES, plus some knock-on effects.

Replace all uses of wasmGeneralizedTables with wasmReftypesEnabled.

Drive-by fix: replace 'anyfunc' in a couple of error strings with the
canonical 'funcref'.

Drive-by fix: remove isSimdAvailable, it is not used and we have no
SIMD.

Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9453f4e1827d
Replace ENABLE_WASM_GENERALIZED_TABLES.  r=bbouvier
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.