Closed
Bug 1640748
Opened 5 years ago
Closed 5 years ago
Warp: Fix LoadArgumentSlot
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The current logic for LoadArgumentSlot has at least two bugs:
emitLoadArgumentDynamicSlot
callsemitLoadArgumentFixedSlot
with the current number of arguments added toslotIndex
. This can easily overflow because the slotIndex is only anuint8_t
.emitLoadArgumentFixedSlot
doesn't handle more than one argument correctly. The arguments are actually in reverse order. The last argument has the lowest slotIndex, usually zero (unless constructing).
Assignee | ||
Updated•5 years ago
|
Summary: Warp : Fix LoadArgumentSlot → Warp: Fix LoadArgumentSlot
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/67947af6e79b
Warp: Fix LoadArgumentSlot transpilation. r=jandem
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•