type TrapPatcher = CPtrdiff -> CodeGen () () CPtrdiff
type TrapPatcherEax = CPtrdiff -> CPtrdiff -> CodeGen () () CPtrdiff
type TrapPatcher = CPtrdiff -> CodeGen () () CPtrdiff
type TrapPatcherEax = CPtrdiff -> CPtrdiff -> CodeGen () () CPtrdiff
data TrapCause
= StaticMethod TrapPatcher -- for static calls
| VirtualCall Bool MethodInfo (IO NativeWord) -- for invoke{interface,virtual}
| InstanceOf TrapPatcherEax
data TrapCause
= StaticMethod TrapPatcher -- for static calls
| VirtualCall Bool MethodInfo (IO NativeWord) -- for invoke{interface,virtual}
| InstanceOf TrapPatcherEax