staticcall trap: use different magic sequence
authorBernhard Urban <lewurm@gmail.com>
Thu, 2 Aug 2012 19:37:24 +0000 (21:37 +0200)
committerBernhard Urban <lewurm@gmail.com>
Thu, 2 Aug 2012 19:36:57 +0000 (21:36 +0200)
commit3c1c1355bc77bf53846255a628416aa36a730e23
tree20d807d442002fd2cc39d9e2d8ea85c1f8625b92
parentb2cb1c7393ad3eaf43b3cd928e6e4a932324eaa1
staticcall trap: use different magic sequence

place invalid opcode *before* both NOPs, otherwise two NOP instrunctions are
executed before every actual traphandling stuff (although, CPUs nowadays will
optimize those NOP-sequences away anyways I guess...)

btw, fuuuu @ byte order *sigh*  I'll never get it...
Mate/X86CodeGen.hs
Mate/X86TrapHandling.hs