Closed Bug 1479465 Opened 7 years ago Closed 7 years ago

Implement ref.eq on anyref and ref T (without eqref)

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: lth, Assigned: lth)

References

Details

Attachments

(1 file, 1 obsolete file)

For the time being it's fine to support ref.eq on all reference types, we don't have to wait for eqref for this, and eqref is complicated.
Attachment #8995993 - Attachment is obsolete: true
Attachment #9008008 - Flags: review?(luke)
Comment on attachment 9008008 [details] [diff] [review] bug1479465-ref-eq-on-all-reftypes-v2.patch Review of attachment 9008008 [details] [diff] [review]: ----------------------------------------------------------------- Great, makes sense. ::: js/src/wasm/WasmBaselineCompile.cpp @@ +7256,5 @@ > #endif > > + // No optimization for pointer compares yet. > + if (operandType.isRefOrAnyRef()) > + return false; nit: (to reuse your pun) embrace the new style overlords
Attachment #9008008 - Flags: review?(luke) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: