comparison graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java @ 2622:91d3952f7eb7

Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 10 May 2011 12:37:46 +0200
parents 3558ca7088c0
children c93adece95d2
comparison
equal deleted inserted replaced
2621:dd115f80acf8 2622:91d3952f7eb7
513 setNoResult(x); 513 setNoResult(x);
514 514
515 CiValue left = xin.result(); 515 CiValue left = xin.result();
516 CiValue right = yin.result(); 516 CiValue right = yin.result();
517 lir.cmp(cond, left, right); 517 lir.cmp(cond, left, right);
518 moveToPhi(x.stateAfter()); 518 moveToPhi();
519 if (x.x().kind.isFloat() || x.x().kind.isDouble()) { 519 if (x.x().kind.isFloat() || x.x().kind.isDouble()) {
520 lir.branch(cond, right.kind, x.trueSuccessor(), x.unorderedSuccessor()); 520 lir.branch(cond, right.kind, x.trueSuccessor(), x.unorderedSuccessor());
521 } else { 521 } else {
522 lir.branch(cond, right.kind, x.trueSuccessor()); 522 lir.branch(cond, right.kind, x.trueSuccessor());
523 } 523 }