[pypy-svn] r65222 - pypy/branch/pyjitpl5/pypy/jit/metainterp
arigo at codespeak.net
arigo at codespeak.net
Mon May 11 18:34:54 CEST 2009
Author: arigo
Date: Mon May 11 18:34:51 2009
New Revision: 65222
Modified:
pypy/branch/pyjitpl5/pypy/jit/metainterp/gc.py
Log:
Uh? This file was repeated, probably by a "patch" command when
the file already existed.
Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/gc.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/gc.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/gc.py Mon May 11 18:34:51 2009
@@ -1,25 +1,6 @@
-
-
-class GcDescription:
- def __init__(self, config):
- self.config = config
-
-
-class GC_boehm(GcDescription):
- malloc_zero_filled = True
-
-class GC_semispace(GcDescription):
- malloc_zero_filled = True
-
-
-def get_description(config):
- name = config.translation.gc
- try:
- cls = globals()['GC_' + name]
- except KeyError:
- raise NotImplementedError('GC %r not supported by the JIT' % (name,))
- return cls(config)
-
+"""
+Support for the various GCs.
+"""
class GcDescription:
def __init__(self, config):
More information about the Pypy-commit
mailing list