[pypy-svn] r63121 - pypy/branch/pyjitpl5/pypy/jit/backend/llgraph

arigo at codespeak.net arigo at codespeak.net
Fri Mar 20 11:19:37 CET 2009


Author: arigo
Date: Fri Mar 20 11:19:36 2009
New Revision: 63121

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py
Log:
Missing case to support rop.NEW.


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/llgraph/llimpl.py	Fri Mar 20 11:19:36 2009
@@ -548,6 +548,9 @@
         else:
             return do_getfield_raw_int(struct, fielddescr.ofs, self.memocast)
 
+    def op_new(self, size):
+        return do_new(size.ofs)
+
     def op_new_with_vtable(self, size, vtable):
         result = do_new(size.ofs)
         value = lltype.cast_opaque_ptr(rclass.OBJECTPTR, result)



More information about the Pypy-commit mailing list