[pypy-commit] pypy default: Turn off this warning
arigo
noreply at buildbot.pypy.org
Mon Jun 30 14:03:58 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r72286:25d2e2050596
Date: 2014-06-30 14:03 +0200
http://bitbucket.org/pypy/pypy/changeset/25d2e2050596/
Log: Turn off this warning
diff --git a/rpython/translator/backendopt/merge_if_blocks.py b/rpython/translator/backendopt/merge_if_blocks.py
--- a/rpython/translator/backendopt/merge_if_blocks.py
+++ b/rpython/translator/backendopt/merge_if_blocks.py
@@ -37,8 +37,10 @@
default.args = [get_new_arg(arg) for arg in default.args]
for block, case in chain:
if case.value in values:
- log.WARNING("unreachable code with value %r in graph %s" % (
- case.value, graph))
+ # - ignore silently: it occurs in platform-dependent
+ # chains of tests, for example
+ #log.WARNING("unreachable code with value %r in graph %s" % (
+ # case.value, graph))
continue
values[case.value] = True
link = block.exits[1]
More information about the pypy-commit
mailing list