[pypy-svn] r73473 - in pypy/branch/decouple-host-opcodes/pypy: interpreter translator/goal

antoine at codespeak.net antoine at codespeak.net
Tue Apr 6 23:42:12 CEST 2010


Author: antoine
Date: Tue Apr  6 23:42:11 2010
New Revision: 73473

Modified:
   pypy/branch/decouple-host-opcodes/pypy/interpreter/pyopcode.py
   pypy/branch/decouple-host-opcodes/pypy/translator/goal/translate.py
Log:
Remove some, well, experiments



Modified: pypy/branch/decouple-host-opcodes/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/branch/decouple-host-opcodes/pypy/interpreter/pyopcode.py	(original)
+++ pypy/branch/decouple-host-opcodes/pypy/interpreter/pyopcode.py	Tue Apr  6 23:42:11 2010
@@ -230,7 +230,7 @@
             if opcode == self.opcodedesc.JUMP_ABSOLUTE.index:
                 return self.jump_absolute(oparg, next_instr, ec)
 
-            if 1 or we_are_translated():
+            if we_are_translated():
                 from pypy.rlib import rstack # for resume points
 
                 for opdesc in unrolling_all_opcode_descs:

Modified: pypy/branch/decouple-host-opcodes/pypy/translator/goal/translate.py
==============================================================================
--- pypy/branch/decouple-host-opcodes/pypy/translator/goal/translate.py	(original)
+++ pypy/branch/decouple-host-opcodes/pypy/translator/goal/translate.py	Tue Apr  6 23:42:11 2010
@@ -213,10 +213,6 @@
     else:
         prof = None
 
-    import gc
-    a, b, c = gc.get_threshold()
-    gc.set_threshold(a * 2, b * 2, c * 8)
-
     t = translator.TranslationContext(config=config)
 
     pdb_plus_show = PdbPlusShow(t) # need a translator to support extended commands



More information about the Pypy-commit mailing list