Hakan Ardo avatar Hakan Ardo committed 073665c

Retracing does not fail in the same set of situations as before. In test_getattr_promote we previously got an retrace that was never used. Now it is not even passed to the backend

Comments (0)

Files changed (2)


             jump(p0, p1, p2, p3, p4, p5, i13, i11, i8, descr=...)
         assert loop0.match(expected)
-        assert loop1.match(expected)
+        # XXX: The retracing fails to form a loop since j
+        # becomes constant 0 after the bridge and constant 1 at the end of the
+        # loop. A bridge back to the peramble is produced instead.        
+        #assert loop1.match(expected)
     def test_factorial(self):
         def fact(n):


         log = self.run(main, [1000])
         assert log.result == main(1000)
         loops = log.loops_by_filename(self.filepath)
-        assert len(loops) == 2
+        assert len(loops) == 1
         for loop in loops:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.