2011-08-21 | Paul Boddie | file changeset files shortlog | Changed the nature of RSVP instructions so that they have explicit working, target and source register inputs and no longer consume simple instructions as direct inputs. This changes the nature of the generated code and of certain optimisations, as well as making some previous optimisations redundant and necessitating additional optimisations. |
paul@450 | 1 | #!/usr/bin/env python |
paul@450 | 2 | |
paul@450 | 3 | class A: |
paul@450 | 4 | pass |
paul@450 | 5 | |
paul@450 | 6 | a = A() |
paul@450 | 7 | result_1 = a.__class__ is not type and 1 or 0 |
paul@450 | 8 | |
paul@450 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |