Closed Bug 1796520 Opened 3 years ago Closed 3 years ago

Don't push and pop savedRegisters_

Categories

(Core :: JavaScript Engine, defect)

Firefox 108
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: yahan, Assigned: yahan)

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.70

Steps to reproduce:

In SMRegExpMacroAssembler::stackOverflowHandler(), masm uses temp0_,temp1_ and backtrack_stack_pointer_. But don't push and pop savedRegisters_.

Actual results:

Don't push

Expected results:

Push and pop savedRegisters_

Assignee: nobody → yahan
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Thanks for the bug report / patch!

However, I don't think this is necessary. I've left comments on the patch to explain why, and marked it as "needs revision". If I'm missing something, let me know. If not, you should be able to close the patch with the "Abandon revision" option in the action menu at the bottom.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Attachment #9299434 - Attachment is obsolete: true
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: