[pypy-commit] pypy vmprof: try returning const
fijal
noreply at buildbot.pypy.org
Wed Feb 4 16:27:04 CET 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
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
More information about the pypy-commit
mailing list