[pypy-svn] r57279 - in pypy/dist/pypy: jit translator translator/tool

fijal at codespeak.net fijal at codespeak.net
Fri Aug 15 14:45:38 CEST 2008


Author: fijal
Date: Fri Aug 15 14:45:38 2008
New Revision: 57279

Removed:
   pypy/dist/pypy/jit/
Modified:
   pypy/dist/pypy/translator/driver.py
   pypy/dist/pypy/translator/tool/graphpage.py
Log:
Remove the jit directory. The main reason is that this version is horribly
outdated and does not resemble current status (also tests are failing).
For more details on jit, look to jit branch:
http://codespeak.net/svn/pypy/branch/oo-jit/

Signal a clean error in case someone tries to use it.


Modified: pypy/dist/pypy/translator/driver.py
==============================================================================
--- pypy/dist/pypy/translator/driver.py	(original)
+++ pypy/dist/pypy/translator/driver.py	Fri Aug 15 14:45:38 2008
@@ -381,6 +381,7 @@
         "Backendopt before Hint-annotate")
 
     def task_hintannotate_lltype(self):
+        raise NotImplementedError("JIT is not implemented on trunk, look at oo-jit branch instead")
         from pypy.jit.hintannotator.annotator import HintAnnotator
         from pypy.jit.hintannotator.model import OriginFlags
         from pypy.jit.hintannotator.model import SomeLLAbstractConstant
@@ -409,6 +410,8 @@
                                        "Hint-annotate")
 
     def task_timeshift_lltype(self):
+        raise NotImplementedError("JIT is not implemented on trunk, look at oo-jit branch instead")
+
         from pypy.jit.timeshifter.hrtyper import HintRTyper
         from pypy.jit.codegen import detect_cpu
         cpu = detect_cpu.autodetect()

Modified: pypy/dist/pypy/translator/tool/graphpage.py
==============================================================================
--- pypy/dist/pypy/translator/tool/graphpage.py	(original)
+++ pypy/dist/pypy/translator/tool/graphpage.py	Fri Aug 15 14:45:38 2008
@@ -125,9 +125,9 @@
                     self.annotator.binding_cause_history.get(var, []))
                 self.binding_history[var.name] = zip(history, cause_history)
                     
-        from pypy.jit.hintannotator.annotator import HintAnnotator
-        if isinstance(self.annotator, HintAnnotator):
-            return
+        #from pypy.jit.hintannotator.annotator import HintAnnotator
+        #if isinstance(self.annotator, HintAnnotator):
+        #    return
 
         vars = {}
         for graph in graphs:



More information about the Pypy-commit mailing list