Skip to content

[NFC] Refactor common logic for JS interface#8458

Merged
tlively merged 1 commit intomainfrom
flow-in-out-refactor
Mar 12, 2026
Merged

[NFC] Refactor common logic for JS interface#8458
tlively merged 1 commit intomainfrom
flow-in-out-refactor

Conversation

@tlively
Copy link
Member

@tlively tlively commented Mar 12, 2026

Both Unsubtyping and GTO need to analyzer JS-called functions as well as imports and exports to analyze types that might flow in from or out to JS. Extract the common logic into a shared utility in a new js-utils.h header. Also move the related jsPossibleJSPrototypeField method to this header.

Both Unsubtyping and GTO need to analyzer JS-called functions as well as imports and exports to analyze types that might flow in from or out to JS. Extract the common logic into a shared utility in a new js-utils.h header. Also move the related jsPossibleJSPrototypeField method to this header.
@tlively tlively requested a review from kripken March 12, 2026 18:27
@tlively tlively merged commit 7288ed5 into main Mar 12, 2026
17 checks passed
@tlively tlively deleted the flow-in-out-refactor branch March 12, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants