Commits

Maciej Fijalkowski  committed add873f

an obscure case - hopefully fix the windows annotation

  • Participants
  • Parent commits cc56984

Comments (0)

Files changed (1)

File pypy/rpython/annlowlevel.py

         else:
             assert False
 
+        hop.exception_cannot_occur()
         if isinstance(hop.args_r[1], rpbc.NoneFrozenPBCRepr):
             return hop.inputconst(PTR, null)
         v_arg = hop.inputarg(hop.args_r[1], arg=1)
         assert isinstance(v_arg.concretetype, T)
-        hop.exception_cannot_occur()
         return hop.genop(opname, [v_arg], resulttype = PTR)