Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.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 | 0635ba16afe4 |
children | 45422967cbcf 5c545fef2c81 |
comparison
equal
deleted
inserted
replaced
2857:c6af2af32b3d | 2858:a97605b0489b |
---|---|
575 } | 575 } |
576 | 576 |
577 private void genCompareOp(CiKind kind, int opcode, CiKind resultKind) { | 577 private void genCompareOp(CiKind kind, int opcode, CiKind resultKind) { |
578 Value y = frameState.pop(kind); | 578 Value y = frameState.pop(kind); |
579 Value x = frameState.pop(kind); | 579 Value x = frameState.pop(kind); |
580 Value value = append(new Compare(opcode, resultKind, x, y, graph)); | 580 Value value = append(new Materialize(opcode, resultKind, x, y, graph)); |
581 if (!resultKind.isVoid()) { | 581 if (!resultKind.isVoid()) { |
582 frameState.ipush(value); | 582 frameState.ipush(value); |
583 } | 583 } |
584 } | 584 } |
585 | 585 |