[pypy-commit] pypy fast-slowpath: Remove again this unused class

arigo noreply at buildbot.pypy.org
Sun Jul 28 14:07:59 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: fast-slowpath
Changeset: r65740:9de7dcdcdded
Date: 2013-07-28 13:45 +0200
http://bitbucket.org/pypy/pypy/changeset/9de7dcdcdded/

Log:	Remove again this unused class

diff --git a/rpython/jit/codewriter/jtransform.py b/rpython/jit/codewriter/jtransform.py
--- a/rpython/jit/codewriter/jtransform.py
+++ b/rpython/jit/codewriter/jtransform.py
@@ -5,7 +5,7 @@
 from rpython.jit.codewriter.flatten import ListOfKind, IndirectCallTargets
 from rpython.jit.codewriter.policy import log
 from rpython.jit.metainterp import quasiimmut
-from rpython.jit.metainterp.history import getkind, AbstractDescr
+from rpython.jit.metainterp.history import getkind
 from rpython.jit.metainterp.typesystem import deref, arrayItem
 from rpython.jit.metainterp.blackhole import BlackholeInterpreter
 from rpython.flowspace.model import SpaceOperation, Variable, Constant, c_last_exception
@@ -16,15 +16,6 @@
 from rpython.rtyper.rclass import IR_QUASIIMMUTABLE, IR_QUASIIMMUTABLE_ARRAY
 from rpython.translator.unsimplify import varoftype
 
-class IntDescr(AbstractDescr):
-    """ Disguise int as a descr
-    """
-    def __init__(self, v):
-        self.v = v
-
-    def getint(self):
-        return self.v
-
 class UnsupportedMallocFlags(Exception):
     pass
 


More information about the pypy-commit mailing list