SSA: Add qldoc.

This commit is contained in:
Anders Schack-Mulligen
2025-02-25 10:20:15 +01:00
parent f00f2c6f47
commit b1b72b73ed

View File

@@ -1683,11 +1683,13 @@ module Make<LocationSig Location, InputSig<Location> Input> {
SsaDefinitionNodeImpl() { this = TSsaDefinitionNode(def) }
/** Gets the underlying SSA definition. */
Definition getDefinition() { result = def }
}
final class SsaDefinitionNode = SsaDefinitionNodeImpl;
/** A node that represents a synthetic read of a source variable. */
final class SsaSynthReadNode extends SsaNode {
SsaSynthReadNode() {
this.(SsaDefinitionExtNodeImpl).getDefinitionExt() instanceof PhiReadNode or