Remi Meier avatar Remi Meier committed 4fb6c82

after a transaction break, we need to check for invalidation again

Comments (0)

Files changed (1)

rpython/jit/metainterp/optimizeopt/heap.py

             opnum == rop.COPYSTRCONTENT or       # no effect on GC struct/array
             opnum == rop.COPYUNICODECONTENT):    # no effect on GC struct/array
             return
+        if (opnum == rop.STM_TRANSACTION_BREAK or
+            opnum == rop.CALL_ASSEMBLER):
+            self._seen_guard_not_invalidated = False
         if (opnum == rop.CALL or
             opnum == rop.CALL_PURE or
             opnum == rop.COND_CALL or
             opnum == rop.CALL_MAY_FORCE or
-            opnum == rop.CALL_RELEASE_GIL or
-            opnum == rop.CALL_ASSEMBLER):
+            opnum == rop.CALL_RELEASE_GIL):
             if opnum == rop.CALL_ASSEMBLER:
                 self._seen_guard_not_invalidated = False
             else:
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.