[pypy-commit] pypy default: Revert 69cadfd7c8e1. That looks wrong. If targetnumpy shows an

arigo noreply at buildbot.pypy.org
Sat Jun 11 10:56:10 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r44885:e95bd0c8fbe5
Date: 2011-06-11 10:57 +0200
http://bitbucket.org/pypy/pypy/changeset/e95bd0c8fbe5/

Log:	Revert 69cadfd7c8e1. That looks wrong. If targetnumpy shows an
	annotator issue, we should understand it and fix it correctly.
	Unfortunately targetnumpy works for me...

diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/llsupport/descr.py
--- a/pypy/jit/backend/llsupport/descr.py
+++ b/pypy/jit/backend/llsupport/descr.py
@@ -1,7 +1,5 @@
 import py
-from pypy.tool.pairtype import extendabletype
 from pypy.rpython.lltypesystem import lltype, rffi, llmemory, rclass
-from pypy.rpython.lltypesystem.lloperation import llop
 from pypy.jit.backend.llsupport import symbolic, support
 from pypy.jit.metainterp.history import AbstractDescr, getkind, BoxInt, BoxPtr
 from pypy.jit.metainterp.history import BasicFailDescr, LoopToken, BoxFloat
@@ -43,11 +41,6 @@
 # ____________________________________________________________
 # SizeDescrs
 
-class __extend__(AbstractDescr):
-    __metaclass__ = extendabletype
-
-    tid = llop.combine_ushort(lltype.Void, 0, 0)
-
 class SizeDescr(AbstractDescr):
     size = 0      # help translation
     is_immutable = False


More information about the pypy-commit mailing list