Author: Maciej Fijalkowski <[email protected]>
Branch: vmprof
Changeset: r75705:f984a5235681
Date: 2015-02-04 17:26 +0200
http://bitbucket.org/pypy/pypy/changeset/f984a5235681/

Log:    try returning const

diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py
--- a/rpython/rlib/jit.py
+++ b/rpython/rlib/jit.py
@@ -306,7 +306,7 @@
         while not hasattr(T, 'vable_token'):
             if not hasattr(T, 'super'):
                 # we're not really in a jitted build
-                return hop.inputconst(lltype.Void,
+                return hop.inputconst(llmemory.GCREF,
                                       lltype.nullptr(llmemory.GCREF.TO))
             v = hop.genop('getfield', [v, c_super], resulttype=T.super)
             T = T.super
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to