basicblock: annotate BBs with exceptions
[mate.git] / Mate / Types.hs
index 67ac2a52b1d016cab35d6fa625287344d0eaba9e..de17e3780aa4cf8c695e72ce4a6891fb505a64e8 100644 (file)
@@ -42,6 +42,7 @@ type BlockID = Int
 -- Represents a CFG node
 data BasicBlock = BasicBlock {
   code :: [Instruction],
+  exception :: B.ByteString,
   successor :: BBEnd }
 
 -- describes (leaving) edges of a CFG node