[pypy-svn] r20221 - pypy/branch/somepbc-refactoring/pypy/rpython
arigo at codespeak.net
arigo at codespeak.net
Thu Nov 24 21:49:01 CET 2005
Author: arigo
Date: Thu Nov 24 21:49:01 2005
New Revision: 20221
Modified:
pypy/branch/somepbc-refactoring/pypy/rpython/rpbc.py
pypy/branch/somepbc-refactoring/pypy/rpython/rtyper.py
Log:
(pedronis)
intermediate check-in. Disabling attachRuntime... temporarely.
Modified: pypy/branch/somepbc-refactoring/pypy/rpython/rpbc.py
==============================================================================
--- pypy/branch/somepbc-refactoring/pypy/rpython/rpbc.py (original)
+++ pypy/branch/somepbc-refactoring/pypy/rpython/rpbc.py Thu Nov 24 21:49:01 2005
@@ -353,7 +353,7 @@
def __init__(self, rtyper, s_pbc):
self.rtyper = rtyper
self.s_pbc = s_pbc
- if None in s_pbc.prebuiltinstances:
+ if s_pbc.can_be_None:
raise TyperError("unsupported: variable of type "
"class-pointer or None")
if s_pbc.is_constant():
Modified: pypy/branch/somepbc-refactoring/pypy/rpython/rtyper.py
==============================================================================
--- pypy/branch/somepbc-refactoring/pypy/rpython/rtyper.py (original)
+++ pypy/branch/somepbc-refactoring/pypy/rpython/rtyper.py Thu Nov 24 21:49:01 2005
@@ -557,6 +557,7 @@
return self.getfunctionptr(spec_function)
def attachRuntimeTypeInfoFunc(self, GCSTRUCT, func, ARG_GCSTRUCT=None):
+ return # FIXME
self.call_all_setups() # compute ForwardReferences now
if ARG_GCSTRUCT is None:
ARG_GCSTRUCT = GCSTRUCT
More information about the Pypy-commit
mailing list