micropython/ast.py | raw changeset files shortlog |
1.1 --- a/micropython/ast.py Mon Jul 21 00:24:00 2008 +0200 1.2 +++ b/micropython/ast.py Mon Jul 21 00:42:54 2008 +0200 1.3 @@ -372,7 +372,7 @@ 1.4 to a temporary variable retaining the result of the last instruction. 1.5 """ 1.6 1.7 - return isinstance(self.active, (LoadName, LoadTemp, LoadAddress, LoadConst)) 1.8 + return isinstance(self.active, (LoadName, LoadTemp, LoadAddress, LoadConst, LoadResult)) 1.9 1.10 # Optimisation methods. See the supported_optimisations class attribute. 1.11