micropython/ast.py | raw changeset files shortlog |
1.1 --- a/micropython/ast.py Sat Feb 07 22:04:24 2009 +0100 1.2 +++ b/micropython/ast.py Sun Feb 08 23:48:47 2009 +0100 1.3 @@ -197,9 +197,10 @@ 1.4 Request a new object with the given class 'cls' and with 'n' attributes. 1.5 """ 1.6 1.7 + # Load the class in order to locate the instance template. 1.8 + 1.9 self.new_op(LoadConst(cls)) 1.10 1.11 - # NOTE: Provide __call__ details, if any. 1.12 # NOTE: Object headers are one location. 1.13 1.14 self.new_op(MakeObject(n + 1))