mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
JS: Combine phi reads and ssa input nodes into SynthReadNode class.
This commit is contained in:
@@ -1688,6 +1688,13 @@ module Make<LocationSig Location, InputSig<Location> Input> {
|
||||
|
||||
final class SsaDefinitionNode = SsaDefinitionNodeImpl;
|
||||
|
||||
final class SsaSynthReadNode extends SsaNode {
|
||||
SsaSynthReadNode() {
|
||||
this.(SsaDefinitionExtNodeImpl).getDefinitionExt() instanceof PhiReadNode or
|
||||
this instanceof SsaInputNodeImpl
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A node that represents an input to an SSA phi (read) definition.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user