comparison graal/GraalCompiler/src/com/sun/c1x/target/amd64/AMD64LIRGenerator.java @ 2858:a97605b0489b

Renamed Compare=>Materialize and introduced new C1XOption Inline.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 07 Jun 2011 16:11:26 +0200
parents c6bdec623ef9
children 45422967cbcf 5c545fef2c81
comparison
equal deleted inserted replaced
2857:c6af2af32b3d 2858:a97605b0489b
415 private void trySwap(Binary x) { 415 private void trySwap(Binary x) {
416 // (tw) TODO: Check what this is for? 416 // (tw) TODO: Check what this is for?
417 } 417 }
418 418
419 @Override 419 @Override
420 public void visitCompare(Compare x) { 420 public void visitMaterialize(Materialize x) {
421 LIRItem left = new LIRItem(x.x(), this); 421 LIRItem left = new LIRItem(x.x(), this);
422 LIRItem right = new LIRItem(x.y(), this); 422 LIRItem right = new LIRItem(x.y(), this);
423 if (!x.kind.isVoid() && x.x().kind.isLong()) { 423 if (!x.kind.isVoid() && x.x().kind.isLong()) {
424 left.setDestroysRegister(); 424 left.setDestroysRegister();
425 } 425 }