Remove nested module from Graphs

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2024-04-13 19:33:58 -07:00
parent de956cdc6a
commit fc27b045d3
2 changed files with 55 additions and 56 deletions

View File

@ -52,7 +52,7 @@ record Program : Set where
rootStmt : Stmt
private
buildResult = Construction.buildCfg rootStmt empty
buildResult = buildCfg rootStmt empty
graph : Graph
graph = proj₁ buildResult

View File

@ -220,7 +220,6 @@ always P m = ∀ g₁ → let (g₂ , t , _) = m g₁ in P g₂ t
with q aQ g'
with (g'' , (t₂ , g'⊆g'')) m₂ g' = (P-Mono _ _ _ g'⊆g'' p , q)
module Construction where
pushBasicBlock : List BasicStmt MonotonicGraphFunction Graph.Index
pushBasicBlock bss g =
( record