Commits

Remi Meier  committed 853e37e

missing emitting_an_operation_that_can_collect() for the inevitable-fallback

  • Participants
  • Parent commits 578f115
  • Branches stmgc-c4

Comments (0)

Files changed (1)

File rpython/jit/backend/llsupport/stmrewrite.py

                 self.newops.append(op)
                 continue
             # ----------  fall-back  ----------
+            # Check that none of the ops handled here can_collect
+            # or cause a transaction break. This is not done by
+            # the fallback here
             self.fallback_inevitable(op)
             debug_print("fallback for", op.repr())
             #
     def fallback_inevitable(self, op):
         self.known_category.clear()
         if not self.always_inevitable:
+            self.emitting_an_operation_that_can_collect()
             self._do_stm_call('stm_try_inevitable', [], None)
             self.always_inevitable = True
         self.newops.append(op)