mirror of
https://github.com/irmen/prog8.git
synced 2025-11-01 06:16:15 +00:00
fix that memory("name", ...) also allocates a STR variable for the name
This commit is contained in:
@@ -189,7 +189,7 @@ class CallGraph(private val program: Program) : IAstVisitor {
|
||||
}
|
||||
|
||||
fun usages(decl: VarDecl): List<IdentifierReference> {
|
||||
if(decl.type!=VarDeclType.VAR || decl.autogeneratedDontRemove || decl.sharedWithAsm)
|
||||
if(decl.type!=VarDeclType.VAR)
|
||||
return emptyList()
|
||||
|
||||
if(decl.definingBlock !in usedBlocks)
|
||||
|
||||
Reference in New Issue
Block a user