[pypy-svn] r62283 - pypy/branch/pyjitpl5/pypy/jit/metainterp
fijal at codespeak.net
fijal at codespeak.net
Sun Mar 1 11:13:14 CET 2009
Author: fijal
Date: Sun Mar 1 11:13:11 2009
New Revision: 62283
Modified:
pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py
Log:
remove the hack
Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/warmspot.py Sun Mar 1 11:13:11 2009
@@ -284,11 +284,6 @@
args = ()
for i, ARG in portalfunc_ARGS:
v = unwrap(ARG, e.args[i])
- # HACK for x86 backend always returning int
- #if isinstance(ARG, lltype.Ptr) and type(v) is int:
- # v = self.metainterp.cpu.cast_int_to_gcref(v)
- #if lltype.typeOf(v) == llmemory.GCREF:
- # v = lltype.cast_opaque_ptr(ARG, v)
args = args + (v,)
except DoneWithThisFrame, e:
return unwrap(RESULT, e.resultbox)
More information about the Pypy-commit
mailing list