# HG changeset patch # User Bernhard Urban # Date 1380024695 -7200 # Node ID e6688490223e2b8d246e79468e9041fbbf5db0e8 # Parent 7c4595b7ef3ac457ae45833b2f4c81dcce239a40 HotSpotRuntime: use HUB_LOCATION for hub diff -r 7c4595b7ef3a -r e6688490223e graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Tue Sep 24 14:11:35 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Tue Sep 24 14:11:35 2013 +0200 @@ -880,7 +880,7 @@ } private WriteNode createWriteHub(StructuredGraph graph, Kind wordKind, ValueNode object, ValueNode value) { - LocationNode location = ConstantLocationNode.create(ANY_LOCATION, wordKind, config.hubOffset, graph); + LocationNode location = ConstantLocationNode.create(HUB_LOCATION, wordKind, config.hubOffset, graph); assert !object.isConstant() || object.asConstant().isNull(); return graph.add(new WriteNode(object, value, location, BarrierType.NONE, useCompressedKlassPointers())); }