[pypy-svn] r63654 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Sun Apr 5 04:16:22 CEST 2009


Author: fijal
Date: Sun Apr  5 04:16:19 2009
New Revision: 63654

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/support.py
Log:
correct oopspecs


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/support.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/support.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/support.py	Sun Apr  5 04:16:19 2009
@@ -133,9 +133,11 @@
 _ll_2_dict_contains = rdict.ll_contains
 _ll_3_dict_get = rdict.ll_get
 def _ll_1_newdictiter(ITERPTR, d):
-    return rdict.ll_dictiter(ITERPTR, d)
+    return rdict.ll_dictiter(lltype.Ptr(ITERPTR), d)
 _ll_1_newdictiter.need_result_type = True
-_ll_3_dictiter_dictnext = rdict.ll_dictnext
+def _ll_2_dictiter_dictnext(RESULTTYPE, dic, func):
+    return rdict.ll_dictnext(dic, func, RESULTTYPE)
+_ll_2_dictiter_dictnext.need_result_type = True
 def _ll_2_newdictkvi(LIST, dic, func):
     return rdict.ll_kvi(dic, LIST, func)
 _ll_2_newdictkvi.need_result_type = True



More information about the Pypy-commit mailing list