Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2868:6d24c27902a2
turned inlining into a phase, some node cloning fixes, added NodeWorklist
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 07 Jun 2011 19:19:14 +0200 |
parents | c6bdec623ef9 |
children |
comparison
equal
deleted
inserted
replaced
2867:5c545fef2c81 | 2868:6d24c27902a2 |
---|---|
1375 } | 1375 } |
1376 return x.operand(); | 1376 return x.operand(); |
1377 } | 1377 } |
1378 | 1378 |
1379 private CiValue operandForPhi(Phi phi) { | 1379 private CiValue operandForPhi(Phi phi) { |
1380 assert !phi.isDead(); | 1380 assert !phi.isDead() : "dead phi: " + phi.id(); |
1381 if (phi.operand().isIllegal()) { | 1381 if (phi.operand().isIllegal()) { |
1382 // allocate a variable for this phi | 1382 // allocate a variable for this phi |
1383 CiVariable operand = newVariable(phi.kind); | 1383 CiVariable operand = newVariable(phi.kind); |
1384 setResult(phi, operand); | 1384 setResult(phi, operand); |
1385 } | 1385 } |