[pypy-svn] r64122 - pypy/trunk/pypy/rpython
benjamin at codespeak.net
benjamin at codespeak.net
Thu Apr 16 00:13:19 CEST 2009
Author: benjamin
Date: Thu Apr 16 00:13:19 2009
New Revision: 64122
Modified:
pypy/trunk/pypy/rpython/rpbc.py
Log:
don't need to resolve result argument again
Modified: pypy/trunk/pypy/rpython/rpbc.py
==============================================================================
--- pypy/trunk/pypy/rpython/rpbc.py (original)
+++ pypy/trunk/pypy/rpython/rpbc.py Thu Apr 16 00:13:19 2009
@@ -722,7 +722,7 @@
if self.lowleveltype is not Void:
assert 0, "XXX None-or-1-class instantation not implemented"
assert isinstance(s_instance, annmodel.SomeInstance)
- classdef = hop.s_result.classdef
+ classdef = s_instance.classdef
s_init = classdef.classdesc.s_read_attribute('__init__')
v_init = Constant("init-func-dummy") # this value not really used
More information about the Pypy-commit
mailing list