1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-12 06:29:34 +00:00

Small inlining fix

This commit is contained in:
Karol Stasiak 2020-11-11 00:27:52 +01:00
parent cd6b789416
commit 91409504fb

View File

@ -83,6 +83,9 @@ abstract class AbstractInliningCalculator[T <: AbstractCode] {
case s: Statement => getAllCalledFunctions(s.getAllExpressions)
case s: VariableExpression => Set(
s.name,
s.name.stripSuffix(".raw"),
s.name.stripSuffix(".raw.lo"),
s.name.stripSuffix(".raw.hi"),
s.name.stripSuffix(".pointer"),
s.name.stripSuffix(".pointer.lo"),
s.name.stripSuffix(".pointer.hi"),