Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/FloatingReadNode.java @ 5541:b4c406861c33
More renamings to drop Ri* prefix completely. Deleted graph.BitMap class and replaced with java.util.BitSet.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 09 Jun 2012 16:52:12 +0200 |
parents | a891c53a295b |
children | 8f9c9d372e31 |
comparison
equal
deleted
inserted
replaced
5540:a891c53a295b | 5541:b4c406861c33 |
---|---|
58 gen.setResult(this, gen.emitLoad(gen.makeAddress(location(), object()), getNullCheck())); | 58 gen.setResult(this, gen.emitLoad(gen.makeAddress(location(), object()), getNullCheck())); |
59 } | 59 } |
60 | 60 |
61 @Override | 61 @Override |
62 public ValueNode canonical(CanonicalizerTool tool) { | 62 public ValueNode canonical(CanonicalizerTool tool) { |
63 RiRuntime runtime = tool.runtime(); | 63 CodeCacheProvider runtime = tool.runtime(); |
64 if (runtime != null && object() != null && object().isConstant() && object().kind() == Kind.Object) { | 64 if (runtime != null && object() != null && object().isConstant() && object().kind() == Kind.Object) { |
65 if (this.location() == LocationNode.FINAL_LOCATION && location().getClass() == LocationNode.class) { | 65 if (this.location() == LocationNode.FINAL_LOCATION && location().getClass() == LocationNode.class) { |
66 Object value = object().asConstant().asObject(); | 66 Object value = object().asConstant().asObject(); |
67 long displacement = location().displacement(); | 67 long displacement = location().displacement(); |
68 Kind kind = location().kind(); | 68 Kind kind = location().kind(); |