[pypy-svn] r49970 - in pypy/dist/pypy/jit/hintannotator: . test
antocuni at codespeak.net
antocuni at codespeak.net
Thu Dec 20 21:41:59 CET 2007
Author: antocuni
Date: Thu Dec 20 21:41:59 2007
New Revision: 49970
Modified:
pypy/dist/pypy/jit/hintannotator/model.py
pypy/dist/pypy/jit/hintannotator/test/test_annotator.py
Log:
propagate deepfrozen also when calling methods
Modified: pypy/dist/pypy/jit/hintannotator/model.py
==============================================================================
--- pypy/dist/pypy/jit/hintannotator/model.py (original)
+++ pypy/dist/pypy/jit/hintannotator/model.py Thu Dec 20 21:41:59 2007
@@ -730,7 +730,7 @@
return SomeLLAbstractConstant(RESULT, d,
eager_concrete = False, # probably
myorigin = myorigin)
- return variableoftype(RESULT)
+ return variableoftype(RESULT, deepfrozen=args_hs[0].deepfrozen)
def handle_highlevel_operation(bookkeeper, ll_func, *args_hs):
Modified: pypy/dist/pypy/jit/hintannotator/test/test_annotator.py
==============================================================================
--- pypy/dist/pypy/jit/hintannotator/test/test_annotator.py (original)
+++ pypy/dist/pypy/jit/hintannotator/test/test_annotator.py Thu Dec 20 21:41:59 2007
@@ -1106,7 +1106,6 @@
# these tests fail because of deepfreeze
test_specialize_deepfreeze_calls = skip_policy
- test_deepfreeze_variables = skip_policy
test_cast_pointer_keeps_deepfreeze = skip_policy
def test_void_oosend(self):
More information about the Pypy-commit
mailing list