[pypy-commit] pypy more-rposix: Another function to hide from the jit.

amauryfa noreply at buildbot.pypy.org
Thu Jun 25 23:10:11 CEST 2015


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: more-rposix
Changeset: r78316:2151aaead9c9
Date: 2015-06-25 23:09 +0200
http://bitbucket.org/pypy/pypy/changeset/2151aaead9c9/

Log:	Another function to hide from the jit. I don't know why they are
	needed now. Maybe because llimpl functions were also never jitted?

diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -1349,6 +1349,7 @@
     return handle_posix_error('killpg', c_killpg(pgrp, sig))
 
 @replace_os_function('_exit')
+ at jit.dont_look_inside
 def exit(status):
     debug.debug_flush()
     c_exit(status)


More information about the pypy-commit mailing list