Closed
Bug 1633664
Opened 5 years ago
Closed 5 years ago
Make it a compile error to delete a GC thing pointer
Categories
(Core :: JavaScript: GC, task)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla77
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
Currently it's possible to attempt to delete a GC thing pointer. In debug builds I got an assertion from ~GCPtr when I tried to delete a JSObject. Ideally this would not compile at all.
| Assignee | ||
Comment 1•5 years ago
|
||
Deleting the delete operator seems to work.
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a3112156594
Make it a compile error to delete a GC thing pointer r=jandem
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•