micropython/ast.py | raw changeset files shortlog |
1.1 --- a/micropython/ast.py Sun Sep 28 21:42:03 2008 +0200 1.2 +++ b/micropython/ast.py Sun Sep 28 21:54:03 2008 +0200 1.3 @@ -728,7 +728,7 @@ 1.4 1.5 # Drop any test if the target and the context are known. 1.6 1.7 - if not self.optimiser.have_correct_self_for_target(context): 1.8 + if not self.optimiser.have_correct_self_for_target(context, self.unit): 1.9 1.10 continue_label = self.new_label() 1.11 self.new_op(CheckSelf())