# HG changeset patch # User Thomas Wuerthinger # Date 1376661622 -7200 # Node ID ec05367f211ccf4dddeed059b9a2b457b87ec59b # Parent e9a22338d2cee89f77dfb27015c19a7a2553b515 Remove overly conservative anchoring of lowered hub access. diff -r e9a22338d2ce -r ec05367f211c 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 Fri Aug 16 14:28:12 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java Fri Aug 16 16:00:22 2013 +0200 @@ -667,11 +667,6 @@ assert loadHub.kind() == wordKind; ValueNode object = loadHub.object(); GuardingNode guard = loadHub.getGuard(); - // A hub read must not float outside its block otherwise - // it may float above an explicit null check on its object. - if (guard == null) { - guard = AbstractBeginNode.prevBegin(tool.lastFixedNode()); - } FloatingReadNode hub = createReadHub(graph, wordKind, object, guard); graph.replaceFloating(loadHub, hub); } else if (n instanceof LoadMethodNode) {