maxlocals: store it in new data type RawMethod, with MapBB & Co
[mate.git] / Mate / Types.hs
index dbf7e73806cc3fe0a3fd1d7531474732f3475ba6..1978bb38fe3d8564b4ce87d2868015916239eaad 100644 (file)
@@ -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