mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-24 15:29:23 +00:00
Fillout the call graph for variable overlap calculations
This commit is contained in:
parent
b6e61f16ec
commit
beef56cdab
@ -37,6 +37,7 @@ abstract class CallGraph(program: Program) {
|
||||
entryPoints += "main"
|
||||
program.declarations.foreach(s => add(None, Nil, s))
|
||||
everCalledFunctions.retain(allFunctions)
|
||||
fillOut()
|
||||
|
||||
def add(currentFunction: Option[String], callingFunctions: List[String], node: Node): Unit = {
|
||||
node match {
|
||||
|
Loading…
Reference in New Issue
Block a user