# HG changeset patch # User Windel Bouwman # Date 1376059769 -7200 # Node ID 649884d9dc6115d8f88efbb5c7bb842df6b412fb # Parent 9e235f15372b1563df501514fa89138dd822166a Test diff -r 9e235f15372b -r 649884d9dc61 python/ir/instruction.py --- 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):