Closed Bug 1633527 Opened 5 years ago Closed 5 years ago

Modernize C++ in JitRuntime

Categories

(Core :: JavaScript Engine: JIT, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

Details

Attachments

(1 file, 1 obsolete file)

Use field initializers in JitRuntime to avoid mistakes. Eg. JitRuntime::disambiguationId_ was never initialized.

This also makes sure disambiguationId_ is properly initialized.

Depends on D72735

(This was to fix some static-analysis complaints ./mach static-analysis check js/src/jit/Ion.cpp)

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e63cd75d1774 Use field initializers in JitRuntime. r=iain https://hg.mozilla.org/integration/autoland/rev/6781a7371f6e Cleanup typedefs in JitRuntime. r=iain
Attachment #9143771 - Attachment is obsolete: true

Looks like the profiler accesses the BaselineInterpreter off-thread. I'm gonna drop the second patch.

Flags: needinfo?(tcampbell)
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41cb3b484ef7 Use field initializers in JitRuntime. r=iain
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Flags: needinfo?(tcampbell)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: