[pypy-commit] pypy default: fix translation. no cookie for fijal.

alex_gaynor noreply at buildbot.pypy.org
Mon Jun 20 05:53:16 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r45027:38b3bfe9ac3f
Date: 2011-06-19 20:56 -0700
http://bitbucket.org/pypy/pypy/changeset/38b3bfe9ac3f/

Log:	fix translation. no cookie for fijal.

diff --git a/pypy/module/pypyjit/interp_resop.py b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -29,6 +29,7 @@
     llcode = lltype.cast_opaque_ptr(lltype.Ptr(OBJECT),
                                     boxes[4].getref_base())
     pycode = cast_base_ptr_to_instance(PyCode, llcode)
+    assert pycode is not None
     return W_DebugMergePoint(mp_no, offset, pycode)
 
 W_DebugMergePoint.typedef = TypeDef(


More information about the pypy-commit mailing list