Commits

Maciej Fijalkowski  committed 61f249b

shuffle self.finished_helpers - finalizers can be still discovered during
finish_rtype

  • Participants
  • Parent commits 73c2187

Comments (0)

Files changed (1)

File rpython/memory/gctransform/transform.py

     def finish_helpers(self, backendopt=True):
         if self.translator is not None:
             self.mixlevelannotator.finish_annotate()
-        self.finished_helpers = True
         if self.translator is not None:
             self.mixlevelannotator.finish_rtype()
             if backendopt:
                 self.mixlevelannotator.backend_optimize()
+        self.finished_helpers = True
         # Make sure that the database also sees all finalizers now.
         # It is likely that the finalizers need special support there
         newgcdependencies = self.ll_finalizers_ptrs