Closed Bug 1541641 Opened 5 years ago Closed 5 years ago

Emit JSOP_TOID when a class field has a computed name

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: jorendorff, Assigned: khyperia)

References

Details

Attachments

(1 file)

The spec requires us to perform ToPropertyKey on computed property names at a particular time. JSOP_TOID is the instruction that does that. I think we usually emit it here. There's a different path for computed property names during destructuring.

Blocks: es-fields
Priority: -- → P1
Assignee: nobody → khyperia
Status: NEW → ASSIGNED
Pushed by ahauck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a1ac474e747d
Emit JSOP_TOID for computed field keys. r=jorendorff
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: