[pypy-commit] pypy default: an obscure case - hopefully fix the windows annotation
fijal
noreply at buildbot.pypy.org
Wed Apr 4 10:44:35 CEST 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
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)
More information about the pypy-commit
mailing list