mirror of
https://github.com/irmen/prog8.git
synced 2026-10-22 05:02:58 +00:00
due to internal complexity, only pointers to bytes can be made const
This commit is contained in:
1 parent
7095b14bcb
commit
6d1dfd2a09
11 files changed
+132
-326
No files matched your search
@@ -71,9 +71,9 @@ internal class BuiltinFuncGen(private val codeGen: IRCodeGen, private val exprGe
|
||||
"popw" -> funcPopW()
|
||||
"popl" -> funcPopL()
|
||||
"popf" -> funcPopF()
|
||||
"sizeof" -> throw AssemblyError("sizeof must have been replaced with a constant")
|
||||
"offsetof" -> throw AssemblyError("offsetof must have been replaced with a constant")
|
||||
else -> throw AssemblyError("missing builtinfunc for ${call.name}")
|
||||
"sizeof" -> throw AssemblyError("sizeof must have been replaced with a constant ${call.position}")
|
||||
"offsetof" -> throw AssemblyError("offsetof must have been replaced with a constant ${call.position}")
|
||||
else -> throw AssemblyError("missing builtinfunc for ${call.name} ${call.position}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user