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