comparison graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java @ 2767:cc2b98e2b832

Reduced moveToPhi usages to 1.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Mon, 23 May 2011 16:23:28 +0200
parents 1ddcbcd33325
children 27512ea6bbcb
comparison
equal deleted inserted replaced
2764:99912abb3ff7 2767:cc2b98e2b832
502 setNoResult(x); 502 setNoResult(x);
503 503
504 CiValue left = xin.result(); 504 CiValue left = xin.result();
505 CiValue right = yin.result(); 505 CiValue right = yin.result();
506 lir.cmp(cond, left, right); 506 lir.cmp(cond, left, right);
507 moveToPhi();
508 if (x.x().kind.isFloat() || x.x().kind.isDouble()) { 507 if (x.x().kind.isFloat() || x.x().kind.isDouble()) {
509 lir.branch(cond, right.kind, getLIRBlock(x.trueSuccessor()), getLIRBlock(x.unorderedSuccessor())); 508 lir.branch(cond, right.kind, getLIRBlock(x.trueSuccessor()), getLIRBlock(x.unorderedSuccessor()));
510 } else { 509 } else {
511 lir.branch(cond, right.kind, getLIRBlock(x.trueSuccessor())); 510 lir.branch(cond, right.kind, getLIRBlock(x.trueSuccessor()));
512 } 511 }