Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2852:c6bdec623ef9
Move TypeCHeck to floating nodes, rename Nodes to aboid using an *Op suffix
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 07 Jun 2011 12:10:27 +0200 |
parents | 14708c03abba |
children | 6d24c27902a2 |
comparison
equal
deleted
inserted
replaced
2851:14708c03abba | 2852:c6bdec623ef9 |
---|---|
423 moveToPhi(); | 423 moveToPhi(); |
424 lir.jump(getLIRBlock(x.defaultSuccessor())); | 424 lir.jump(getLIRBlock(x.defaultSuccessor())); |
425 } | 425 } |
426 | 426 |
427 @Override | 427 @Override |
428 public void visitIfOp(IfOp i) { | 428 public void visitIfOp(Conditional i) { |
429 Value x = i.x(); | 429 Value x = i.x(); |
430 Value y = i.y(); | 430 Value y = i.y(); |
431 CiKind xtype = x.kind; | 431 CiKind xtype = x.kind; |
432 CiKind ttype = i.trueValue().kind; | 432 CiKind ttype = i.trueValue().kind; |
433 assert xtype.isInt() || xtype.isObject() : "cannot handle others"; | 433 assert xtype.isInt() || xtype.isObject() : "cannot handle others"; |