Skip to content

Commit 69348b1

Browse files
committed
remove redundant hasLocationInfo
1 parent 8443b8e commit 69348b1

File tree

1 file changed

+0
-8
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+0
-8
lines changed

javascript/ql/src/semmle/javascript/SSA.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,6 @@ class SsaPhiNode extends SsaPseudoDefinition, TPhi {
660660

661661
override string prettyPrintDef() { result = getSourceVariable() + " = phi(" + ppInputs() + ")" }
662662

663-
override predicate hasLocationInfo(
664-
string filepath, int startline, int startcolumn, int endline, int endcolumn
665-
) {
666-
endline = startline and
667-
endcolumn = startcolumn and
668-
getBasicBlock().getLocation().hasLocationInfo(filepath, startline, startcolumn, _, _)
669-
}
670-
671663
/**
672664
* If all inputs to this phi node are (transitive) refinements of the same variable,
673665
* gets that variable.

0 commit comments

Comments
 (0)