mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-12 03:30:09 +00:00
Don't align the main function
This commit is contained in:
parent
376c3283b8
commit
462041e8f4
@ -787,7 +787,7 @@ class Environment(val parent: Option[Environment], val prefix: String, val cpuFa
|
||||
reentrant = stmt.reentrant,
|
||||
position = stmt.position,
|
||||
declaredBank = stmt.bank,
|
||||
alignment = defaultFunctionAlignment(options, hot = true) // TODO: decide actual hotness in a smarter way
|
||||
alignment = if (name == "main") NoAlignment else defaultFunctionAlignment(options, hot = true) // TODO: decide actual hotness in a smarter way
|
||||
)
|
||||
addThing(mangled, stmt.position)
|
||||
registerAddressConstant(mangled, stmt.position, options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user