[pypy-commit] pypy default: try not to check in typos

fijal noreply at buildbot.pypy.org
Tue Jun 7 10:44:13 CEST 2011

Author: Maciej Fijalkowski <fijall at gmail.com>
Changeset: r44770:e6bf8c0baeb4
Date: 2011-06-07 10:44 +0200

Log:	try not to check in typos

diff --git a/pypy/jit/metainterp/warmstate.py b/pypy/jit/metainterp/warmstate.py
--- a/pypy/jit/metainterp/warmstate.py
+++ b/pypy/jit/metainterp/warmstate.py
@@ -609,7 +609,7 @@
                 greenargs = unwrap_greenkey(greenkey)
                 fn = support.maybe_on_top_of_llinterp(rtyper, get_location_ptr)
                 llres = fn(*greenargs)
-                if not we_are_translated() and isinstance(res, str):
+                if not we_are_translated() and isinstance(llres, str):
                     return llres
                 return hlstr(llres)
         self.get_location_str = get_location_str

More information about the pypy-commit mailing list