X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Mate%2FBasicBlocks.hs;h=996c6728aa92291c6c76910dc05c0d26226b6df0;hb=da537644f4ae79ee53f22d21da1583df76b30a66;hp=d4cd2b18bb8cae87ec40ce09d41cc18ae59d5df6;hpb=fb42a1f78a371a5f1208998e424aee49d06281e6;p=mate.git diff --git a/Mate/BasicBlocks.hs b/Mate/BasicBlocks.hs index d4cd2b1..996c672 100644 --- a/Mate/BasicBlocks.hs +++ b/Mate/BasicBlocks.hs @@ -105,12 +105,10 @@ parseMethod cls methodname sig = do let nametype = methodNameType methoddirect let argscount = methodGetArgsCount nametype + (if isStatic then 0 else 1) - let msig = methodSignature $ classMethods cls !! 1 + let msig = methodSignature method printfBb "BB: analysing \"%s\"\n" $ toString (methodname `B.append` ": " `B.append` encode msig) #ifdef DBG_BB - case maybe_bb of - Just m -> printMapBB $ rawMapBB m - Nothing -> return () + printMapBB mapbb #endif -- small example how to get information about -- exceptions of a method