[pypy-svn] r45949 - pypy/branch/pypy-more-rtti-inprogress/translator/c

fijal at codespeak.net fijal at codespeak.net
Fri Aug 24 12:56:03 CEST 2007


Author: fijal
Date: Fri Aug 24 12:56:03 2007
New Revision: 45949

Modified:
   pypy/branch/pypy-more-rtti-inprogress/translator/c/extfunc.py
Log:
Kill Kill Kill


Modified: pypy/branch/pypy-more-rtti-inprogress/translator/c/extfunc.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/translator/c/extfunc.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/translator/c/extfunc.py	Fri Aug 24 12:56:03 2007
@@ -9,11 +9,6 @@
 from pypy.rpython.module import ll_stackless, ll_stack
 from pypy.rpython.lltypesystem.module import ll_strtod
 
-try:
-    from pypy.module.thread.rpython import ll_thread
-except ImportError:
-    ll_thread = None
-
 # table of functions hand-written in src/ll_*.h
 # Note about *.im_func: The annotator and the rtyper expect direct
 # references to functions, so we cannot insert classmethods here.
@@ -29,15 +24,6 @@
     ll_stack.ll_stack_too_big: 'LL_stack_too_big',
     }
 
-if ll_thread: EXTERNALS.update({
-    ll_thread.ll_newlock:            'LL_thread_newlock',
-    ll_thread.ll_acquirelock:        'LL_thread_acquirelock',
-    ll_thread.ll_releaselock:        'LL_thread_releaselock',
-    ll_thread.ll_fused_releaseacquirelock: 'LL_thread_fused_releaseacquirelock',
-    ll_thread.ll_thread_start:     'LL_thread_start',
-    ll_thread.ll_thread_get_ident: 'LL_thread_get_ident',
-    })
-
 #______________________________________________________
 # insert 'simple' math functions into EXTERNALs table:
 



More information about the Pypy-commit mailing list