projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
maxlocals: store it in new data type RawMethod, with MapBB & Co
[mate.git]
/
Mate
/
Types.hs
diff --git
a/Mate/Types.hs
b/Mate/Types.hs
index dbf7e73806cc3fe0a3fd1d7531474732f3475ba6..1978bb38fe3d8564b4ce87d2868015916239eaad 100644
(file)
--- a/
Mate/Types.hs
+++ b/
Mate/Types.hs
@@
-25,6
+25,10
@@
data BBEnd = Return | FallThrough BlockID | OneTarget BlockID | TwoTarget BlockI
type MapBB = M.Map BlockID BasicBlock
+data RawMethod = RawMethod {
+ rawMapBB :: MapBB,
+ rawLocals :: Int,
+ rawStackSize :: Int }
-- Word32 = point of method call in generated code