[pypy-commit] pypy faster-rstruct: aargh, forgot to add the default case. Thanks arigato

antocuni noreply at buildbot.pypy.org
Wed Nov 18 02:27:05 EST 2015


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: faster-rstruct
Changeset: r80741:86622dc58965
Date: 2015-11-18 08:27 +0100
http://bitbucket.org/pypy/pypy/changeset/86622dc58965/

Log:	aargh, forgot to add the default case. Thanks arigato

diff --git a/rpython/jit/codewriter/jtransform.py b/rpython/jit/codewriter/jtransform.py
--- a/rpython/jit/codewriter/jtransform.py
+++ b/rpython/jit/codewriter/jtransform.py
@@ -1033,6 +1033,8 @@
             return SpaceOperation('getarrayitem_gc_%s' % kind,
                                   [op.args[0], v_index, arraydescr],
                                   op.result)
+        else:
+            assert False, 'not supported'
 
     def rewrite_op_setinteriorfield(self, op):
         assert len(op.args) == 4


More information about the pypy-commit mailing list