diff python/ppci/core/basicblock.py @ 111:d3068efdf045

merge
author Windel Bouwman
date Fri, 04 Jan 2013 15:26:59 +0100
parents 9e552d34bd60
children
line wrap: on
line diff
--- a/python/ppci/core/basicblock.py	Thu Jan 03 18:33:29 2013 +0100
+++ b/python/ppci/core/basicblock.py	Fri Jan 04 15:26:59 2013 +0100
@@ -1,4 +1,4 @@
-
+from .value import Value
 
 class BasicBlock(Value):
    """ 
@@ -6,5 +6,10 @@
      jumps and branches.
    """
    def __init__(self):
-      pass
+      super().__init__()
+      self.instructions = []
+      self.name = None
+   def getInstructions(self):
+      return self.instructions
+   Instructions = property(getInstructions)