Baldr: fix include dependencies

RESOLVED FIXED in Firefox 51

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: luke, Assigned: luke)

Tracking

Trunk
mozilla51
Points:
---

Firefox Tracking Flags

(firefox51 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Created attachment 8777858 [details] [diff] [review]
rearrange-include-deps

Some of the "lightweight" (types, constants, helpers) wasm headers (WasmBinary.h/WasmTypes.h) are transitively including most of the world via builtin/SIMD.h which in turn is inverting the intended header dependency (WasmJS.h should depend on WasmTypes.h).  This patch makes builtin/SIMD.h into a lightweight header by cutting the dependency on TypedObjects.h (which pulls in everything).
Attachment #8777858 - Flags: review?(bbouvier)
Comment on attachment 8777858 [details] [diff] [review]
rearrange-include-deps

Review of attachment 8777858 [details] [diff] [review]:
-----------------------------------------------------------------

Nice! (I assume you've checked it builds with non-unified compilation on at least one platform; this *should* not be platform dependent, but who knows)
Attachment #8777858 - Flags: review?(bbouvier) → review+

Comment 2

2 years ago
Pushed by lwagner@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f411c2442970
Baldr: fix include dependencies (r=bbouvier)

Comment 3

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/f411c2442970
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox51: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.