[pypy-commit] pypy default: Show the function that can't be access direct.

alex_gaynor noreply at buildbot.pypy.org
Sat May 28 06:50:24 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r44566:3095c6a2c512
Date: 2011-05-27 22:02 -0700
http://bitbucket.org/pypy/pypy/changeset/3095c6a2c512/

Log:	Show the function that can't be access direct.

diff --git a/pypy/jit/codewriter/policy.py b/pypy/jit/codewriter/policy.py
--- a/pypy/jit/codewriter/policy.py
+++ b/pypy/jit/codewriter/policy.py
@@ -82,7 +82,7 @@
             # If such a function is called and accesses a virtualizable, the JIT
             # will not notice, and the virtualizable will fall out of sync. So,
             # we fail loudly now.
-            raise ValueError("access_directly on a function which we don't see")
+            raise ValueError("access_directly on a function which we don't see %s" % graph)
         return res
 
 def contains_unsupported_variable_type(graph, supports_floats,


More information about the pypy-commit mailing list