mirror of
https://github.com/KarolS/millfork.git
synced 2024-09-10 11:54:30 +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…
Reference in New Issue
Block a user