Mercurial > hg > graal-compiler
diff src/share/vm/c1/c1_IR.cpp @ 1899:42a10fc37986
6991577: add IfOp optimization to C1
Summary: Ifop optimization for c1
Reviewed-by: never, phh, iveresov
author | roland |
---|---|
date | Fri, 15 Oct 2010 09:38:20 +0200 |
parents | f02a8bbe6ed4 |
children | f95d63e2154a |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_IR.cpp Wed Oct 13 15:38:14 2010 -0700 +++ b/src/share/vm/c1/c1_IR.cpp Fri Oct 15 09:38:20 2010 +0200 @@ -321,7 +321,7 @@ void visit(Value* n) { // Local instructions and Phis for expression stack values at the // start of basic blocks are not added to the instruction list - if (!(*n)->is_linked()&& (*n)->can_be_linked()) { + if (!(*n)->is_linked() && (*n)->can_be_linked()) { assert(false, "a node was not appended to the graph"); Compilation::current()->bailout("a node was not appended to the graph"); }