X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Mate%2FTypes.hs;fp=Mate%2FTypes.hs;h=ec76a4cb7d41f5b3631b550e296ee479ba085708;hb=96f243da07244b563fed5d718a0c78cd727578db;hp=060ffb7403e3d1e036bbec9cedbc97eab3659288;hpb=e233bbb3bd29c6665239c7a9139826ce21913d29;p=mate.git diff --git a/Mate/Types.hs b/Mate/Types.hs index 060ffb7..ec76a4c 100644 --- a/Mate/Types.hs +++ b/Mate/Types.hs @@ -69,10 +69,10 @@ type TrapMap = M.Map NativeWord TrapCause type TrapPatcher = CPtrdiff -> CodeGen () () CPtrdiff data TrapCause - = StaticMethod MethodInfo -- for static calls + = StaticMethod TrapPatcher -- for static calls | VirtualCall Bool MethodInfo (IO NativeWord) -- for invoke{interface,virtual} | InstanceOf B.ByteString -- class name - | NewObject B.ByteString -- class name + | NewObject TrapPatcher -- class name | StaticField StaticFieldInfo | ObjectField TrapPatcher