diff python/ppci/core/function.py @ 110:9e552d34bd60

Work on compiler
author Windel Bouwman
date Fri, 04 Jan 2013 15:25:58 +0100
parents f2d980eef509
children
line wrap: on
line diff
--- a/python/ppci/core/function.py	Tue Jan 01 17:17:44 2013 +0100
+++ b/python/ppci/core/function.py	Fri Jan 04 15:25:58 2013 +0100
@@ -5,8 +5,9 @@
       self.name = name
       self.function = function
 
-class Function:
+class Function(GlobalValue):
    def __init__(self, functiontype, name, module):
+      super().__init__()
       self.functiontype = functiontype
       self.name = name
       self.module = module