Get forward analysis working again
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -499,10 +499,10 @@ record Program : Set where
|
||||
open Graphs
|
||||
|
||||
field
|
||||
prog : Stmt
|
||||
rootStmt : Stmt
|
||||
|
||||
private
|
||||
buildResult = Construction.buildCfg prog empty
|
||||
buildResult = Construction.buildCfg rootStmt empty
|
||||
|
||||
graph : Graph
|
||||
graph = proj₁ buildResult
|
||||
@@ -518,7 +518,7 @@ record Program : Set where
|
||||
|
||||
private
|
||||
vars-Set : StringSet
|
||||
vars-Set = Stmt-vars prog
|
||||
vars-Set = Stmt-vars rootStmt
|
||||
|
||||
vars : List String
|
||||
vars = to-Listˢ vars-Set
|
||||
|
||||
Reference in New Issue
Block a user