Closed Bug 1713550 Opened 5 years ago Closed 5 years ago

Include-what-you-use correctness in js/public/GCVector.h

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: ptomato, Assigned: ptomato)

Details

Attachments

(1 file)

I've heard that it's not really a goal to be able to run include-what-you-use across the whole SpiderMonkey codebase, but I do use it in my codebase that embeds SpiderMonkey.

There are some incorrect #includes in js/public/GCVector.h that trigger a bug in include-what-you-use and I'm hoping it'd be OK to just fix this header to have the proper includes.

If there is interest in using include-what-you-use across the whole SpiderMonkey codebase in the future, I can give some tips or possibly help set that up, but for now I'll just stick to fixing this one file.

Assignee: nobody → philip.chimento
Status: NEW → ASSIGNED
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f76f3b0a3c9f Fix includes in js/public/GCVector.h. r=jandem
Pushed by malexandru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e79ef9f3dae Fix includes in js/public/GCVector.h. r=jandem

Relanded changeset f76f3b0a3c9f since the failures linked in the backout comment are actually high frequency ones that by chance permafailed on that push, sorry for the inconvenience!

Reland link: https://hg.mozilla.org/integration/autoland/rev/0e79ef9f3dae29d61cdb42516c7c05f8d0c414fd

Flags: needinfo?(philip.chimento)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: