[pypy-svn] r35509 - pypy/dist/pypy/rpython
antocuni at codespeak.net
antocuni at codespeak.net
Fri Dec 8 20:45:49 CET 2006
Author: antocuni
Date: Fri Dec 8 20:45:48 2006
New Revision: 35509
Modified:
pypy/dist/pypy/rpython/rexternalobj.py
Log:
bugfix
Modified: pypy/dist/pypy/rpython/rexternalobj.py
==============================================================================
--- pypy/dist/pypy/rpython/rexternalobj.py (original)
+++ pypy/dist/pypy/rpython/rexternalobj.py Fri Dec 8 20:45:48 2006
@@ -61,8 +61,9 @@
def call_method(self, name, hop):
vlist = hop.inputargs(self, *(hop.args_r[1:]))
+ c_name = hop.inputconst(ootype.Void, name)
hop.exception_is_here()
- return hop.genop('oosend', [Constant(name)] + vlist, resulttype=hop.r_result)
+ return hop.genop('oosend', [c_name] + vlist, resulttype=hop.r_result)
def rtype_is_true(self, hop):
vlist = hop.inputargs(self)
More information about the pypy-svn
mailing list