[pypy-svn] r68669 - pypy/branch/warmspot-jitinfo/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Tue Oct 20 19:17:02 CEST 2009


Author: arigo
Date: Tue Oct 20 19:17:02 2009
New Revision: 68669

Modified:
   pypy/branch/warmspot-jitinfo/pypy/jit/metainterp/pyjitpl.py
Log:
Argh.


Modified: pypy/branch/warmspot-jitinfo/pypy/jit/metainterp/pyjitpl.py
==============================================================================
--- pypy/branch/warmspot-jitinfo/pypy/jit/metainterp/pyjitpl.py	(original)
+++ pypy/branch/warmspot-jitinfo/pypy/jit/metainterp/pyjitpl.py	Tue Oct 20 19:17:02 2009
@@ -1105,7 +1105,7 @@
             _jitcell_dict = {}
             def jit_cell_at_key(greenkey):
                 greenkey = tuple(greenkey)
-                return _jitcell_dict.setdefaut(greenkey, JitCell())
+                return _jitcell_dict.setdefault(greenkey, JitCell())
             self.jit_cell_at_key = jit_cell_at_key
         if staticdata.virtualizable_info:
             self.blackhole_virtualizable = staticdata.virtualizable_info.null_vable



More information about the Pypy-commit mailing list