[pypy-commit] pypy refactor-translator: Rename task_stackcheckinsertion_lltype -> task_stackcheckinsertion.

Manuel Jacob noreply at buildbot.pypy.org
Sat Aug 31 14:56:47 CEST 2013


Author: Manuel Jacob
Branch: refactor-translator
Changeset: r66714:ad4be31f8eba
Date: 2013-08-30 19:35 +0100
http://bitbucket.org/pypy/pypy/changeset/ad4be31f8eba/

Log:	Rename task_stackcheckinsertion_lltype -> task_stackcheckinsertion.

diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py
--- a/rpython/translator/driver.py
+++ b/rpython/translator/driver.py
@@ -246,8 +246,7 @@
             expose_task(self.task_pyjitpl)
         if not self.config.translation.backendopt.none:
             expose_task(self.task_backendopt)
-        if self.config.translation.type_system == 'lltype':
-            expose_task(self.task_stackcheckinsertion_lltype)
+        expose_task(self.task_stackcheckinsertion)
         for task in backends[self.config.translation.backend](self).get_tasks():
             expose_task(task)
 
@@ -414,13 +413,13 @@
         backend_optimizations(self.translator)
 
     @taskdef("inserting stack checks")
-    def task_stackcheckinsertion_lltype(self):
+    def task_stackcheckinsertion(self):
         from rpython.translator.transform import insert_ll_stackcheck
         count = insert_ll_stackcheck(self.translator)
         self.log.info("inserted %d stack checks." % (count,))
 
     @taskdef("LLInterpreting")
-    def task_llinterpret_lltype(self):
+    def task_llinterpret(self):
         from rpython.rtyper.llinterp import LLInterpreter
         py.log.setconsumer("llinterp operation", None)
 


More information about the pypy-commit mailing list