1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-03 10:29:58 +00:00

Remove debugging code

This commit is contained in:
Karol Stasiak 2020-03-15 01:04:21 +01:00
parent 24870ae62e
commit 9f128d3c35

View File

@ -501,9 +501,6 @@ object AssemblyLine {
def dataStackX(ctx: CompilationContext, opcode: Opcode.Value, offset: Int): AssemblyLine =
if (ctx.options.flag(CompilationFlag.SoftwareStack)) {
val stack = ctx.env.get[ThingInMemory]("__stack")
if (offset == 0x108) {
println()
}
AssemblyLine.absoluteX(opcode, stack.toAddress + (offset - 0x100))
} else if (ctx.options.flag(CompilationFlag.EmitEmulation65816Opcodes)) {
AssemblyLine.stackRelative(opcode, offset + ctx.extraStackOffset)