Remove nested module from Graphs
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
de956cdc6a
commit
fc27b045d3
|
@ -52,7 +52,7 @@ record Program : Set where
|
||||||
rootStmt : Stmt
|
rootStmt : Stmt
|
||||||
|
|
||||||
private
|
private
|
||||||
buildResult = Construction.buildCfg rootStmt empty
|
buildResult = buildCfg rootStmt empty
|
||||||
|
|
||||||
graph : Graph
|
graph : Graph
|
||||||
graph = proj₁ buildResult
|
graph = proj₁ buildResult
|
||||||
|
|
|
@ -220,7 +220,6 @@ always P m = ∀ g₁ → let (g₂ , t , _) = m g₁ in P g₂ t
|
||||||
with q ← aQ g'
|
with q ← aQ g'
|
||||||
with (g'' , (t₂ , g'⊆g'')) ← m₂ g' = (P-Mono _ _ _ g'⊆g'' p , q)
|
with (g'' , (t₂ , g'⊆g'')) ← m₂ g' = (P-Mono _ _ _ g'⊆g'' p , q)
|
||||||
|
|
||||||
module Construction where
|
|
||||||
pushBasicBlock : List BasicStmt → MonotonicGraphFunction Graph.Index
|
pushBasicBlock : List BasicStmt → MonotonicGraphFunction Graph.Index
|
||||||
pushBasicBlock bss g =
|
pushBasicBlock bss g =
|
||||||
( record
|
( record
|
||||||
|
|
Loading…
Reference in New Issue
Block a user