[pypy-commit] pypy jit-dynamic-getarrayitem: show the annotator this case isn't posssible

alex_gaynor noreply at buildbot.pypy.org
Mon Nov 14 00:22:54 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: jit-dynamic-getarrayitem
Changeset: r49385:99d01fa4f6a8
Date: 2011-11-13 18:22 -0500
http://bitbucket.org/pypy/pypy/changeset/99d01fa4f6a8/

Log:	show the annotator this case isn't posssible

diff --git a/pypy/jit/metainterp/optimizeopt/fficall.py b/pypy/jit/metainterp/optimizeopt/fficall.py
--- a/pypy/jit/metainterp/optimizeopt/fficall.py
+++ b/pypy/jit/metainterp/optimizeopt/fficall.py
@@ -217,6 +217,8 @@
         elif oopspec == EffectInfo.OS_LIBFFI_SETARRAYITEM:
             opnum = rop.SETINTERIORFIELD_RAW
             arglist.append(self.getvalue(op.getarg(6)).force_box(self.optimizer))
+        else:
+            assert False
         return [
             ResOperation(opnum, arglist, op.result, descr=descr),
         ]


More information about the pypy-commit mailing list