Closed Bug 1786471 Opened 2 years ago Closed 2 years ago

Remove some unnecessary includes from js/src/{frontend,gc,vm}

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Remove some includes from js/src/{frontend,gc,vm} which aren't needed per IWYU.

This one was extra tricky, because removing includes from header files in
"js/src/vm" often leads to build errors in other files due to missing header
files which were previously only transitively included.

Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/53910f7dd1f8
Part 1: Remove unnecessary includes in js/src/vm. r=jonco
https://hg.mozilla.org/integration/autoland/rev/5723d1994900
Part 2: Remove unnecessary includes from js/src/gc. r=jonco
https://hg.mozilla.org/integration/autoland/rev/64c823e0df9c
Part 3: Remove unnecessary includes from js/src/frontend. r=jonco

Backed out for causing SM failures on jsrtfuzzing.cpp . CLOSED TREE
Backout link
Push with failures
Link to failure log
Failure line :
/builds/worker/checkouts/gecko/js/src/shell/jsrtfuzzing/jsrtfuzzing.cpp:133:8: error: use of undeclared identifier 'ToInt32'

Flags: needinfo?(andrebargull)

Let's see if it now sticks. Hopefully there aren't any other build configurations which relied on the removed header includes.

Flags: needinfo?(andrebargull)
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1fb01ce743b3
Part 1: Remove unnecessary includes in js/src/vm. r=jonco
https://hg.mozilla.org/integration/autoland/rev/934e9608148c
Part 2: Remove unnecessary includes from js/src/gc. r=jonco
https://hg.mozilla.org/integration/autoland/rev/498d812eb398
Part 3: Remove unnecessary includes from js/src/frontend. r=jonco
Blocks: sm-meta
Severity: -- → N/A
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Regressions: 1786803
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: