Mercurial > hg > truffle
changeset 11324:ec05367f211c
Remove overly conservative anchoring of lowered hub access.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 16 Aug 2013 16:00:22 +0200 |
parents | e9a22338d2ce |
children | 961846eb85b4 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotRuntime.java |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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) {