[pypy-svn] r62925 - pypy/branch/pyjitpl5/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Fri Mar 13 11:16:13 CET 2009


Author: fijal
Date: Fri Mar 13 11:16:11 2009
New Revision: 62925

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
Log:
outdated check


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py	Fri Mar 13 11:16:11 2009
@@ -831,11 +831,7 @@
     for vtable in storage.allocations:
         if metainterp.cpu.translate_support_code:
             vtable_addr = metainterp.cpu.cast_int_to_adr(vtable)
-            try:
-                size = metainterp.class_sizes[vtable_addr]
-            except KeyError:
-                print vtable_addr, vtable, "CRAAAAAAAASH"
-                raise
+            size = metainterp.class_sizes[vtable_addr]
         else:
             size = metainterp.class_sizes[vtable]
         vtablebox = ConstInt(vtable)



More information about the Pypy-commit mailing list