comparison graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/nodes/DirectObjectStoreNode.java @ 14817:80147dac0d6e

LIRFrameStateBuilder added
author Niclas Adlertz <niclas.adlertz@oracle.com>
date Tue, 18 Mar 2014 09:56:20 +0000
parents bc0ed539018f
children 35122ce527ab
comparison
equal deleted inserted replaced
14803:c4219e527b83 14817:80147dac0d6e
56 @NodeIntrinsic 56 @NodeIntrinsic
57 public static native void storeLong(Object obj, @ConstantNodeParameter int displacement, long offset, long value, @ConstantNodeParameter LocationIdentity locationIdenity); 57 public static native void storeLong(Object obj, @ConstantNodeParameter int displacement, long offset, long value, @ConstantNodeParameter LocationIdentity locationIdenity);
58 58
59 @Override 59 @Override
60 public void lower(LoweringTool tool) { 60 public void lower(LoweringTool tool) {
61 IndexedLocationNode location = IndexedLocationNode.create(locationIdentity, value.kind(), displacement, offset, graph(), 1); 61 IndexedLocationNode location = IndexedLocationNode.create(locationIdentity, value.getKind(), displacement, offset, graph(), 1);
62 WriteNode write = graph().add(new WriteNode(object, value, location, BarrierType.NONE, value.kind() == Kind.Object)); 62 WriteNode write = graph().add(new WriteNode(object, value, location, BarrierType.NONE, value.getKind() == Kind.Object));
63 graph().replaceFixedWithFixed(this, write); 63 graph().replaceFixedWithFixed(this, write);
64 } 64 }
65 } 65 }