1.1 --- a/micropython/__init__.py Mon Mar 24 23:53:18 2008 +0100
1.2 +++ b/micropython/__init__.py Mon Mar 31 00:54:03 2008 +0200
1.3 @@ -86,7 +86,7 @@
1.4
1.5 return self.modules.values()
1.6
1.7 - def get_image(self, with_builtins=0):
1.8 + def get_image(self, with_builtins=0, optimisations=None):
1.9
1.10 "Return a dictionary mapping modules to structures."
1.11
1.12 @@ -115,7 +115,7 @@
1.13 # Position the module in the image and make a translation.
1.14
1.15 module.location = pos
1.16 - trans = micropython.ast.Translation(module, objtable, paramtable, self.modules.get("__builtins__"))
1.17 + trans = micropython.ast.Translation(module, objtable, paramtable, self.modules.get("__builtins__"), optimisations)
1.18
1.19 # Add header details.
1.20