OSDN Git Service

Fixed bug on premature DCHECK.
authorAart Bik <ajcbik@google.com>
Wed, 3 Feb 2016 20:56:02 +0000 (12:56 -0800)
committerAart Bik <ajcbik@google.com>
Wed, 3 Feb 2016 20:56:02 +0000 (12:56 -0800)
commit3f1a8be7c9511afbc1ea0ce2e76a018269382336
tree98511fb06ea5912a56289c7c564484af03baa66f
parentc5b76b9328d77b83c80afed14a5b6e7009136e15
Fixed bug on premature DCHECK.
With fail-before/pass-after test

bug=26947011

Rationale:
During BCE, the phi structure is under construction,
to be fixed by InsertPhiNodes() and carefully checked
with the SSA checker. So utilities should not overly
DCHECK on SSA consistency during the modifications.

Change-Id: Ia9df9ee5aac0c1dd2c3e3a447c730246d5e48bbb
compiler/optimizing/nodes.cc
test/562-bce-preheader/src/Main.java