mirror of
https://github.com/KarolS/millfork.git
synced 2025-02-04 03:31:49 +00:00
Change fatal error message.
This commit is contained in:
parent
785eb0780b
commit
6b4236530d
@ -487,7 +487,7 @@ abstract class AbstractAssembler[T <: AbstractCode](private val program: Program
|
||||
val db = mem.banks("default")
|
||||
val ib = mem.banks(ivBank)
|
||||
val size = rwDataEnd - rwDataStart
|
||||
if (size < 0) log.fatal("What")
|
||||
if (size < 0) log.fatal("Negative writable memory size. It's a compiler bug.")
|
||||
val ivAddr = codeAllocators(ivBank).allocateBytes(ib, options, size, initialized = true, writeable = false, AllocationLocation.High, NoAlignment)
|
||||
labelMap += "__rwdata_init_start" -> (ib.index -> ivAddr)
|
||||
labelMap += "__rwdata_init_end" -> (ib.index -> (ivAddr + size))
|
||||
|
Loading…
x
Reference in New Issue
Block a user