Mercurial > lcfOS
changeset 266:649884d9dc61 Working chain 1
Test
author | Windel Bouwman |
---|---|
date | Fri, 09 Aug 2013 16:49:29 +0200 |
parents | 9e235f15372b |
children | e7c8f7eb3f59 |
files | python/ir/instruction.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/python/ir/instruction.py Fri Aug 09 16:37:19 2013 +0200 +++ b/python/ir/instruction.py Fri Aug 09 16:49:29 2013 +0200 @@ -307,11 +307,11 @@ return [self.lab1, self.lab2] def changeTarget(self, tfrom, tto): - assert tfrom is self.lab1 or tfrom is self.lab2 - if tfrom is self.lab1: - self.lab1 = tto - elif tfrom is self.lab2: - self.lab2 = tto + assert tfrom is self.lab1 or tfrom is self.lab2 + if tfrom is self.lab1: + self.lab1 = tto + elif tfrom is self.lab2: + self.lab2 = tto class Return(Terminator):