Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r54173:add873f63889
Date: 2012-04-04 10:44 +0200
http://bitbucket.org/pypy/pypy/changeset/add873f63889/
Log: an obscure case - hopefully fix the windows annotation
diff --git a/pypy/rpython/annlowlevel.py b/pypy/rpython/annlowlevel.py
--- a/pypy/rpython/annlowlevel.py
+++ b/pypy/rpython/annlowlevel.py
@@ -543,11 +543,11 @@
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit