Author: Maciej Fijalkowski <[email protected]>
Branch: kill-someobject
Changeset: r58033:a0e46ecd2134
Date: 2012-10-12 14:54 +0200
http://bitbucket.org/pypy/pypy/changeset/a0e46ecd2134/

Log:    revert the jit.py modification

diff --git a/pypy/module/pypyjit/interp_resop.py 
b/pypy/module/pypyjit/interp_resop.py
--- a/pypy/module/pypyjit/interp_resop.py
+++ b/pypy/module/pypyjit/interp_resop.py
@@ -2,7 +2,7 @@
 from pypy.interpreter.typedef import (TypeDef, GetSetProperty,
      interp_attrproperty, interp_attrproperty_w)
 from pypy.interpreter.baseobjspace import Wrappable
-from pypy.interpreter.gateway import unwrap_spec, interp2app, NoneNotWrapped
+from pypy.interpreter.gateway import unwrap_spec, interp2app
 from pypy.interpreter.pycode import PyCode
 from pypy.interpreter.error import OperationError
 from pypy.rpython.lltypesystem import lltype, llmemory
diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -502,7 +502,7 @@
                     elif (hasattr(value, '__class__')
                           and value.__class__.__module__ != '__builtin__'):
                         if hasattr(value, '_freeze_'):
-                            kind = "1:INT"
+                            continue   # value._freeze_() is better not called
                         elif getattr(value, '_alloc_flavor_', 'gc') == 'gc':
                             kind = '2:REF'
                         else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to