projects
/
mate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
84f98a3
)
basicblock: stupid index bug @ debug output
author
Bernhard Urban
<lewurm@gmail.com>
Thu, 9 Aug 2012 14:17:28 +0000
(16:17 +0200)
committer
Bernhard Urban
<lewurm@gmail.com>
Thu, 9 Aug 2012 14:17:28 +0000
(16:17 +0200)
Mate/BasicBlocks.hs
patch
|
blob
|
history
diff --git
a/Mate/BasicBlocks.hs
b/Mate/BasicBlocks.hs
index c2bdcd7587b43eeef08f426994259944a6151957..996c6728aa92291c6c76910dc05c0d26226b6df0 100644
(file)
--- a/
Mate/BasicBlocks.hs
+++ b/
Mate/BasicBlocks.hs
@@
-105,7
+105,7
@@
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
printMapBB mapbb