Author: Armin Rigo <[email protected]>
Branch: op_malloc_gc
Changeset: r50689:836dcbe6b49e
Date: 2011-12-19 06:47 +0100
http://bitbucket.org/pypy/pypy/changeset/836dcbe6b49e/
Log: fix
diff --git a/pypy/jit/backend/llsupport/descr.py
b/pypy/jit/backend/llsupport/descr.py
--- a/pypy/jit/backend/llsupport/descr.py
+++ b/pypy/jit/backend/llsupport/descr.py
@@ -384,7 +384,7 @@
category = 'i'
elif result_type == history.REF:
assert RESULT == llmemory.GCREF # should be ensured by the caller
- result = 'res'
+ result = 'lltype.cast_opaque_ptr(llmemory.GCREF, res)'
category = 'r'
elif result_type == history.FLOAT:
result = 'longlong.getfloatstorage(res)'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit