diff python/ir/instruction.py @ 266:649884d9dc61 Working chain 1

Test
author Windel Bouwman
date Fri, 09 Aug 2013 16:49:29 +0200
parents 9e235f15372b
children 5ec7580976d9
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):