Closed Bug 1597984 Opened 6 years ago Closed 6 years ago

Remove ExprType

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: lth, Assigned: lth)

Details

Attachments

(1 file)

With wingo's work on multi-value having landed, ExprType is now only used by Odin, and Odin uses it only as a wrapper around TypeCode. So remove ExprType and make Odin use TypeCode directly for the few places where it needs that.

ExprType is no longer used by wasm, only by asm.js, and then only as a wrapper
around TypeCode. We can replace all existing uses with uses of TypeCode,
without sacrificing any type safety -- TypeCode is an enum class.

\o/

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: