[pypy-svn] r28523 - pypy/dist/pypy/rpython
mwh at codespeak.net
mwh at codespeak.net
Thu Jun 8 15:46:51 CEST 2006
Author: mwh
Date: Thu Jun 8 15:46:50 2006
New Revision: 28523
Modified:
pypy/dist/pypy/rpython/objectmodel.py
Log:
(mwh, pedronis)
*cough*cough*cough* fix references to raddress.weakgcadress_repr
Modified: pypy/dist/pypy/rpython/objectmodel.py
==============================================================================
--- pypy/dist/pypy/rpython/objectmodel.py (original)
+++ pypy/dist/pypy/rpython/objectmodel.py Thu Jun 8 15:46:50 2006
@@ -105,7 +105,7 @@
def specialize_call(self, hop):
from pypy.rpython import raddress
assert isinstance(hop.args_r[0], raddress.WeakGcAddressRepr)
- vlist = [hop.inputarg(raddress.weakgcaddress_repr, arg=0)]
+ vlist = [hop.inputarg(hop.args_r[0], arg=0)]
return hop.genop('cast_weakadr_to_ptr', vlist,
resulttype = hop.r_result.lowleveltype)
@@ -126,7 +126,7 @@
def specialize_call(self, hop):
from pypy.rpython import raddress
assert isinstance(hop.args_r[0], raddress.WeakGcAddressRepr)
- vlist = [hop.inputarg(raddress.weakgcaddress_repr, arg=0)]
+ vlist = [hop.inputarg(hop.args_r[0], arg=0)]
return hop.genop('cast_weakadr_to_int', vlist,
resulttype = hop.r_result.lowleveltype)
More information about the Pypy-commit
mailing list