JS: Improve join order at MkUse call

This commit is contained in:
Asger F
2025-11-28 10:12:52 +01:00
parent 295bc6981d
commit 123bc64091

View File

@@ -1280,9 +1280,13 @@ module API {
nd = MkUse(ref)
or
S::isAdditionalUseRoot(nd) and
nd = MkUse(ref)
nd = mkUseLate(ref)
}
bindingset[node]
pragma[inline_late]
private TApiNode mkUseLate(DataFlow::Node node) { result = MkUse(node) }
private import semmle.javascript.dataflow.TypeTracking
/**