[pypy-svn] r74252 - pypy/trunk/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Fri Apr 30 00:32:21 CEST 2010


Author: fijal
Date: Fri Apr 30 00:32:18 2010
New Revision: 74252

Modified:
   pypy/trunk/pypy/jit/metainterp/support.py
Log:
pass main_entry_point here as well, fixes one test


Modified: pypy/trunk/pypy/jit/metainterp/support.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/support.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/support.py	Fri Apr 30 00:32:18 2010
@@ -41,7 +41,7 @@
     annpolicy.allow_someobjects = False
     a = t.buildannotator(policy=annpolicy)
     argtypes = getargtypes(a, values)
-    a.build_types(func, argtypes)
+    a.build_types(func, argtypes, main_entry_point=True)
     rtyper = t.buildrtyper(type_system = type_system)
     rtyper.specialize()
     if inline:



More information about the Pypy-commit mailing list