Closed Bug 1762582 Opened 2 years ago Closed 2 years ago

MacroAssembler::branchIfNotFunctionIsNonBuiltinCtor

Categories

(Core :: JavaScript Engine: JIT, defect)

defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- wontfix
firefox101 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

branchIfNotFunctionIsNonBuiltinCtor wasn't updated in bug 1724031.

Test case:

function f() {
  function C() {}
  C.prototype = null;
}
for (let i = 0; i < 10000; ++i) f();

When running with IONFLAGS=bl-ic-fb shows that the fallback path is always taken.

Set release status flags based on info from the regressing bug 1724031

Add a helper function to centralise loading the function arguments count.

Depends on D142674

Has Regression Range: --- → yes
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/322cfbb1ffdc
Part 1: Fix MacroAssembler::branchIfNotFunctionIsNonBuiltinCtor. r=jonco
https://hg.mozilla.org/integration/autoland/rev/d8bcd71ed8fc
Part 2: Add MacroAssembler::loadFunctionArgCount(). r=jonco
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch

The patch landed in nightly and beta is affected.
:anba, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(andrebargull)
Flags: needinfo?(andrebargull)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: