Commits

Carl Friedrich Bolz  committed 1797ec8

move unroll_safe to correct place

  • Participants
  • Parent commits abf7d12
  • Branches compress-terms2

Comments (0)

Files changed (1)

File prolog/interpreter/shape.py

         self.storage = newstorage
         self.shape = new_shape
 
-    @jit.unroll_safe
     def replace_child(self, index, obj):
         if isinstance(obj, ShapedCallableBase):
             new_shape = self.get_shape().get_transition(index, obj.get_shape())
                 return self
         return None
 
+    @jit.unroll_safe
     def _fixup_var_in_term(self, obj, index):
         # XXX whew, subtle logic here
         newi = index