[pypy-svn] r18414 - in pypy/dist/pypy/rpython: . module

ale at codespeak.net ale at codespeak.net
Tue Oct 11 17:14:54 CEST 2005


Author: ale
Date: Tue Oct 11 17:14:51 2005
New Revision: 18414

Modified:
   pypy/dist/pypy/rpython/module/ll_stackless.py
   pypy/dist/pypy/rpython/objectmodel.py
Log:
stack_unwind function

Modified: pypy/dist/pypy/rpython/module/ll_stackless.py
==============================================================================
--- pypy/dist/pypy/rpython/module/ll_stackless.py	(original)
+++ pypy/dist/pypy/rpython/module/ll_stackless.py	Tue Oct 11 17:14:51 2005
@@ -1,6 +1,10 @@
 from pypy.rpython import objectmodel
 
 
+def ll_stackless_stack_unwind():
+    pass
+ll_stackless_stack_unwind.suggested_primitive = True
+
 def ll_stackless_stack_frames_depth():
     return objectmodel.stack_frames_depth()
 ll_stackless_stack_frames_depth.suggested_primitive = True

Modified: pypy/dist/pypy/rpython/objectmodel.py
==============================================================================
--- pypy/dist/pypy/rpython/objectmodel.py	(original)
+++ pypy/dist/pypy/rpython/objectmodel.py	Tue Oct 11 17:14:51 2005
@@ -38,9 +38,11 @@
 def hlinvoke(repr, llcallable, *args):
     raise TypeError, "hlinvoke is meant to be rtyped and not called direclty"
 
+def stack_unwind():
+    pass
+
 def stack_frames_depth():
     return len(inspect.stack())
-
 def stack_too_big():
     return False
 



More information about the Pypy-commit mailing list