[pypy-svn] r60161 - pypy/branch/oo-jit/pypy/jit/hintannotator
arigo at codespeak.net
arigo at codespeak.net
Wed Nov 26 17:43:56 CET 2008
Author: arigo
Date: Wed Nov 26 17:43:54 2008
New Revision: 60161
Modified:
pypy/branch/oo-jit/pypy/jit/hintannotator/bookkeeper.py
pypy/branch/oo-jit/pypy/jit/hintannotator/policy.py
Log:
Trying to support exceptions in pyjitpl, step 1.
Modified: pypy/branch/oo-jit/pypy/jit/hintannotator/bookkeeper.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/hintannotator/bookkeeper.py (original)
+++ pypy/branch/oo-jit/pypy/jit/hintannotator/bookkeeper.py Wed Nov 26 17:43:54 2008
@@ -74,7 +74,8 @@
pass
else:
# except transform the copied graph before its hint-annotation
- etrafo.create_exception_handling(graph, always_exc_clear=True)
+ etrafo.create_exception_handling(graph, always_exc_clear =
+ bk.annotator.policy.exceptiontransformclear)
if alt_name is not None:
graph.name = alt_name
self._cache[key] = graph
Modified: pypy/branch/oo-jit/pypy/jit/hintannotator/policy.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/hintannotator/policy.py (original)
+++ pypy/branch/oo-jit/pypy/jit/hintannotator/policy.py Wed Nov 26 17:43:54 2008
@@ -10,6 +10,7 @@
hotpath = False
pyjitpl = False
exceptiontransform = True
+ exceptiontransformclear= True
def __init__(self, **kwds):
for key, value in kwds.items():
More information about the Pypy-commit
mailing list