trap: give disasm some nop's, so it shows the label
authorBernhard Urban <lewurm@gmail.com>
Sun, 22 Apr 2012 18:42:50 +0000 (20:42 +0200)
committerBernhard Urban <lewurm@gmail.com>
Sun, 22 Apr 2012 18:42:50 +0000 (20:42 +0200)
commit4fdea0a41c8893e3ef258b44aa696dcbe8e71f1e
treec16a5c6b478fd8384b156f673a8687ecf57dc1cf
parentf0b4e78c77e6503703fd7ace19e203ce06718397
trap: give disasm some nop's, so it shows the label

the disasm doesn't show labels on invalid opcode, but
that's convenient when debugging.

one can argue it's not really efficient here, because two cycles are wastet.
imho that's not true, since modern x86 cpu's eliminate such instructions
sequences.

we could benchmark/test that, but well, it's just on the first hit, so suck it.
Mate/X86CodeGen.hs
ffi/trap.c