Author: Armin Rigo <ar...@tunes.org>
Branch: remove-globals-in-jit
Changeset: r59286:fc72fed04f5b
Date: 2012-12-02 18:01 -0800
http://bitbucket.org/pypy/pypy/changeset/fc72fed04f5b/

Log:    Bah, it's actually never None.

diff --git a/pypy/jit/metainterp/resume.py b/pypy/jit/metainterp/resume.py
--- a/pypy/jit/metainterp/resume.py
+++ b/pypy/jit/metainterp/resume.py
@@ -1085,9 +1085,6 @@
     def consume_virtualref_info(self, vrefinfo, numb, end):
         # we have to decode a list of references containing pairs
         # [..., virtual, vref, ...]  stopping at 'end'
-        if vrefinfo is None:
-            assert end == 0
-            return
         assert (end & 1) == 0
         for i in range(0, end, 2):
             virtual = self.decode_ref(numb.nums[i])
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to