Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed0af95

Browse files
committed
JS: Add Public module and only expose that
Indentation will be fixed in next commit
1 parent 3b663bd commit ed0af95

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import internal.BasicBlockInternal
1+
import internal.BasicBlockInternal::Public

javascript/ql/lib/semmle/javascript/internal/BasicBlockInternal.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ BasicBlock immediateDominator(BasicBlock bb) = idominance(entryBB/1, succBB/2)(_
110110
cached
111111
BasicBlock immediatePostDominator(BasicBlock bb) = idominance(exitBB/1, predBB/2)(_, result, bb)
112112

113+
import Public
114+
115+
module Public {
113116
/**
114117
* A basic block, that is, a maximal straight-line sequence of control flow nodes
115118
* without branches or joins.
@@ -359,3 +362,5 @@ class ReachableJoinBlock extends ReachableBasicBlock {
359362
)
360363
}
361364
}
365+
366+
}

0 commit comments

Comments
 (0)