[pypy-svn] r20579 - pypy/dist/pypy/translator
sanxiyn at codespeak.net
sanxiyn at codespeak.net
Fri Dec 2 17:04:34 CET 2005
Author: sanxiyn
Date: Fri Dec 2 17:04:31 2005
New Revision: 20579
Modified:
pypy/dist/pypy/translator/gencl.py
Log:
Remove some obsolete codes
Modified: pypy/dist/pypy/translator/gencl.py
==============================================================================
--- pypy/dist/pypy/translator/gencl.py (original)
+++ pypy/dist/pypy/translator/gencl.py Fri Dec 2 17:04:31 2005
@@ -5,16 +5,6 @@
from pypy.translator.transform import transform_graph, default_extra_passes, transform_slice
-DEBUG = False
-
-
-# XXX For 2.2 the emitted code isn't quite right, because we cannot tell
-# when we should write "0"/"1" or "nil"/"t".
-if not isinstance(bool, type):
- class bool(int):
- pass
-
-
class Op:
def __init__(self, gen, op):
@@ -26,9 +16,6 @@
self.result = op.result
def __call__(self):
- if DEBUG:
- self.op_default()
- return
if self.opname in self.binary_ops:
self.op_binary(self.opname)
else:
More information about the Pypy-commit
mailing list