[pypy-commit] pypy guard-compatible: fix an error message

cfbolz pypy.commits at gmail.com
Wed Jun 22 06:18:01 EDT 2016


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: guard-compatible
Changeset: r85325:1a4c8be91191
Date: 2016-06-20 15:54 +0200
http://bitbucket.org/pypy/pypy/changeset/1a4c8be91191/

Log:	fix an error message

diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/jit/metainterp/optimizeopt/pure.py
--- a/rpython/jit/metainterp/optimizeopt/pure.py
+++ b/rpython/jit/metainterp/optimizeopt/pure.py
@@ -228,7 +228,7 @@
             if not ccond.known_valid.same_constant(op.getarg(1)):
                 r = self.optimizer.metainterp_sd.logger_ops.repr_of_resop(
                     op)
-                raise InvalidLoop('A GUARD_VALUE (%s) '
+                raise InvalidLoop('A GUARD_COMPATIBLE (%s) '
                                   'was proven to always fail' % r)
             return
         else:


More information about the pypy-commit mailing list