Closed
Bug 1527174
Opened 5 years ago
Closed 5 years ago
Remove a bunch of dead code now that you can't reify ArrayBuffers underneath random typed objects
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: Waldo, Assigned: Waldo)
Details
Attachments
(4 files)
3.57 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
4.32 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
11.76 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
3.39 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
The only way to do this is with the TypedObjectBuffer self-hosted function that isn't called anywhere. We can remove a bunch of code if we get rid of that.
Assignee | ||
Comment 1•5 years ago
|
||
Attachment #9043168 -
Flags: review?(jcoppeard)
Assignee | ||
Comment 2•5 years ago
|
||
Attachment #9043170 -
Flags: review?(jcoppeard)
Assignee | ||
Comment 3•5 years ago
|
||
Attachment #9043171 -
Flags: review?(jcoppeard)
Assignee | ||
Comment 4•5 years ago
|
||
Attachment #9043172 -
Flags: review?(jcoppeard)
Assignee | ||
Updated•5 years ago
|
Attachment #9043168 -
Flags: review?(jcoppeard) → review?(sphink)
Assignee | ||
Updated•5 years ago
|
Attachment #9043170 -
Flags: review?(jcoppeard) → review?(sphink)
Assignee | ||
Updated•5 years ago
|
Attachment #9043172 -
Flags: review?(jcoppeard) → review?(sphink)
Assignee | ||
Updated•5 years ago
|
Attachment #9043171 -
Flags: review?(jcoppeard) → review?(sphink)
Comment 5•5 years ago
|
||
Comment on attachment 9043168 [details] [diff] [review] Remove the unused TypedObjectBuffer self-hosted function Review of attachment 9043168 [details] [diff] [review]: ----------------------------------------------------------------- Kind of sad to see this go, but go it must.
Attachment #9043168 -
Flags: review?(sphink) → review+
Updated•5 years ago
|
Attachment #9043170 -
Flags: review?(sphink) → review+
Comment 6•5 years ago
|
||
Comment on attachment 9043171 [details] [diff] [review] Remove ArrayBufferObject::ArrayBufferFlags's FOR_INLINE_TYPED_OBJECT initializer, as this flag is never set when typed object buffers can't be reified Review of attachment 9043171 [details] [diff] [review]: ----------------------------------------------------------------- But it was all so simple and elegant, what problem could you possibly have with it? (Wow, this stuff was nasty!)
Attachment #9043171 -
Flags: review?(sphink) → review+
Comment 7•5 years ago
|
||
Comment on attachment 9043172 [details] [diff] [review] Remove ArrayBufferObject::trace as unnecessary now that buffers for inline typed objects no longer exist Review of attachment 9043172 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #9043172 -
Flags: review?(sphink) → review+
Pushed by jwalden@mit.edu: https://hg.mozilla.org/integration/mozilla-inbound/rev/bd48f7dd71da Remove the unused TypedObjectBuffer self-hosted function. r=sfink https://hg.mozilla.org/integration/mozilla-inbound/rev/b376d69fbe8f Remove {Inline,Outline}TransparentTypedObject::getOrCreateBuffer, needed only by the just-removed TypedObjectBuffer self-hosted function. r=sfink https://hg.mozilla.org/integration/mozilla-inbound/rev/f21f35c4c4ec Remove ArrayBufferObject::ArrayBufferFlags's FOR_INLINE_TYPED_OBJECT initializer, as this flag is never set when typed object buffers can't be reified. r=sfink https://hg.mozilla.org/integration/mozilla-inbound/rev/983e5c1a6ba7 Remove ArrayBufferObject::trace as unnecessary now that buffers for inline typed objects no longer exist. r=sfink
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bd48f7dd71da
https://hg.mozilla.org/mozilla-central/rev/b376d69fbe8f
https://hg.mozilla.org/mozilla-central/rev/f21f35c4c4ec
https://hg.mozilla.org/mozilla-central/rev/983e5c1a6ba7
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•