Commits

Maciej Fijalkowski committed ebcea5f

(agaynor) a look_inside_iff

  • Participants
  • Parent commits 47b1bf0

Comments (0)

Files changed (1)

pypy/module/_sre/interp_sre.py

 from pypy.interpreter.error import OperationError
 from pypy.rlib.rarithmetic import intmask
 from pypy.tool.pairtype import extendabletype
-
+from pypy.rlib import jit
 
 # ____________________________________________________________
 #
         raise OperationError(space.w_TypeError,
                              space.wrap("cannot copy this match object"))
 
+    @jit.look_inside_iff(lambda self, args_w: jit.isconstant(len(args_w)))
     def group_w(self, args_w):
         space = self.space
         ctx = self.ctx