refactor: store amount of arguments of a method in RawMethod
[mate.git] / Mate / Types.hs
index 1978bb38fe3d8564b4ce87d2868015916239eaad..1f67aa6844cdedfeb69977f988407066af9c5dcb 100644 (file)
@@ -28,7 +28,8 @@ type MapBB = M.Map BlockID BasicBlock
 data RawMethod = RawMethod {
   rawMapBB :: MapBB,
   rawLocals :: Int,
-  rawStackSize :: Int }
+  rawStackSize :: Int,
+  rawArgCount :: Word32 }
 
 
 -- Word32 = point of method call in generated code