JS: Add Public module and only expose that

Indentation will be fixed in next commit
This commit is contained in:
Asger F
2024-09-23 10:33:30 +02:00
parent 3b663bd2f6
commit ed0af958a9
2 changed files with 6 additions and 1 deletions

View File

@@ -1 +1 @@
import internal.BasicBlockInternal
import internal.BasicBlockInternal::Public

View File

@@ -110,6 +110,9 @@ BasicBlock immediateDominator(BasicBlock bb) = idominance(entryBB/1, succBB/2)(_
cached
BasicBlock immediatePostDominator(BasicBlock bb) = idominance(exitBB/1, predBB/2)(_, result, bb)
import Public
module Public {
/**
* A basic block, that is, a maximal straight-line sequence of control flow nodes
* without branches or joins.
@@ -359,3 +362,5 @@ class ReachableJoinBlock extends ReachableBasicBlock {
)
}
}
}