[pypy-svn] r45338 - pypy/dist/pypy/rpython

pedronis at codespeak.net pedronis at codespeak.net
Thu Jul 26 11:04:18 CEST 2007


Author: pedronis
Date: Thu Jul 26 11:04:16 2007
New Revision: 45338

Modified:
   pypy/dist/pypy/rpython/annlowlevel.py
Log:
kill going-nowhere commented out code



Modified: pypy/dist/pypy/rpython/annlowlevel.py
==============================================================================
--- pypy/dist/pypy/rpython/annlowlevel.py	(original)
+++ pypy/dist/pypy/rpython/annlowlevel.py	Thu Jul 26 11:04:16 2007
@@ -415,23 +415,6 @@
 
 # ____________________________________________________________
 
-## XXX finish me
-##def cast_instance_to_ptr(Class, instance):
-##    raise NotImplementedError("cast_instance_to_ptr")
-
-##class CastInstanceToPtrEntry(extregistry.ExtRegistryEntry):
-##    _about_ = cast_instance_to_ptr
-
-##    def compute_result_annotation(self, s_Class, s_instance):
-##        assert s_Class.is_constant()
-##        pol = self.bookkeeper.annotator.policy
-##        s_Instance, r_Instance = pol.annhelper.s_r_instanceof(s_Class.const)
-##        return annmodel.SomePtr(r_Instance.lowleveltype)
-
-##    ...
-
-# ____________________________________________________________
-
 def placeholder_sigarg(s):
     if s == "self":
         def expand(s_self, *args_s):



More information about the Pypy-commit mailing list