Closed
Bug 1844520
Opened 2 years ago
Closed 2 years ago
Mark AutoEnterOOMUnsafeRegion::crash has a static function
Categories
(Core :: JavaScript Engine, task)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
117 Branch
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Otherwise -ftrivial-auto-var-init always initialize the empty class one byte because the object has its address taken by a method that does not need it.
Assignee | ||
Comment 1•2 years ago
|
||
Interestingly, this removes a reference to this
which in turns unlocks
a few compiler optimization.
More specifically, -ftrivial-auto-var-init always initialize the empty
class with one byte because the object has its address taken by a method
that does not need it.
This patch removes the need for that class to have an address.
Updated•2 years ago
|
Assignee: nobody → sguelton
Status: NEW → ASSIGNED
Updated•2 years ago
|
Attachment #9344791 -
Attachment description: Bug 1844520 - Mark AutoEnterOOMUnsafeRegion::crash as static r=nbp → Bug 1844520 - Forward AutoEnterOOMUnsafeRegion::crash to a static implementation r=nbp
Pushed by sguelton@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1dd2a590f9b8
Forward AutoEnterOOMUnsafeRegion::crash to a static implementation r=nbp
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•