@@ -98,9 +98,9 @@ fun runCFGWithoutSPPF(
9898 .walk()
9999 .filter { it.isFile }
100100 .forEach { graphPath ->
101- val graph = readGraphFromCSV(graphPath.path)
102101 val graphName = graphPath.nameWithoutExtension
103102 println (" start:: $graphName " )
103+ val graph = readGraphFromCSV(graphPath.path)
104104
105105 val resultPath = getResultPath(pathToOutput, graphName, " cfg" , cfgName, " without_sppf" )
106106 File (resultPath).writeText(" " )
@@ -147,9 +147,9 @@ fun runCFGWithSPPF(
147147 .walk()
148148 .filter { it.isFile }
149149 .forEach { graphPath ->
150- val graph = readGraphFromCSV(graphPath.path)
151150 val graphName = graphPath.nameWithoutExtension
152151 println (" start:: $graphName " )
152+ val graph = readGraphFromCSV(graphPath.path)
153153
154154 val resultPath = getResultPath(pathToOutput, graphName, " cfg" , cfgName, " with_sppf" )
155155 File (resultPath).writeText(" " )
@@ -196,9 +196,9 @@ fun runRSMWithoutSPPF(
196196 .walk()
197197 .filter { it.isFile }
198198 .forEach { graphPath ->
199- val graph = readGraphFromCSV(graphPath.path)
200199 val graphName = graphPath.nameWithoutExtension
201200 println (" start:: $graphName " )
201+ val graph = readGraphFromCSV(graphPath.path)
202202
203203 val resultPath = getResultPath(pathToOutput, graphName, " rsm" , rsmName, " without_sppf" )
204204 File (resultPath).writeText(" " )
@@ -245,9 +245,9 @@ fun runRSMWithSPPF(
245245 .walk()
246246 .filter { it.isFile }
247247 .forEach { graphPath ->
248- val graph = readGraphFromCSV(graphPath.path)
249248 val graphName = graphPath.nameWithoutExtension
250249 println (" start:: $graphName " )
250+ val graph = readGraphFromCSV(graphPath.path)
251251
252252 val resultPath = getResultPath(pathToOutput, graphName, " rsm" , rsmName, " with_sppf" )
253253 File (resultPath).writeText(" " )
0 commit comments