We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b13d9 commit 24b0469Copy full SHA for 24b0469
javascript/ql/src/semmle/javascript/SSA.qll
@@ -627,6 +627,7 @@ abstract class SsaPseudoDefinition extends SsaImplicitDefinition {
627
/**
628
* Gets an input of this pseudo-definition.
629
*/
630
+ cached
631
abstract SsaVariable getAnInput();
632
633
override VarDef getAContributingVarDef() {
@@ -649,6 +650,7 @@ class SsaPhiNode extends SsaPseudoDefinition, TPhi {
649
650
651
* Gets the input to this phi node coming from the given predecessor block.
652
653
654
SsaVariable getInputFromBlock(BasicBlock bb) {
655
bb = getBasicBlock().getAPredecessor() and
656
result = getDefReachingEndOf(bb, getSourceVariable())
0 commit comments