Mercurial > hg > truffle
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java @ 11348:d46159285f97
removed Stamp parameter of BeginNode.anchor node intrinsic
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 19 Aug 2013 10:49:40 +0200 |
parents | 4b3a6662deb1 |
children | 03c781923573 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java Sat Aug 17 17:52:21 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java Mon Aug 19 10:49:40 2013 +0200 @@ -89,7 +89,7 @@ } return falseValue; } - BeginNode anchorNode = BeginNode.anchor(StampFactory.forNodeIntrinsic()); + BeginNode anchorNode = BeginNode.anchor(); Word objectHub = loadHubIntrinsic(object, getWordKind(), anchorNode); // if we get an exact match: succeed immediately ExplodeLoopNode.explodeLoop(); @@ -118,7 +118,7 @@ isNull.inc(); return falseValue; } - BeginNode anchorNode = BeginNode.anchor(StampFactory.forNodeIntrinsic()); + BeginNode anchorNode = BeginNode.anchor(); Word objectHub = loadHubIntrinsic(object, getWordKind(), anchorNode); if (probability(LIKELY_PROBABILITY, objectHub.notEqual(exactHub))) { exactMiss.inc(); @@ -137,7 +137,7 @@ isNull.inc(); return falseValue; } - BeginNode anchorNode = BeginNode.anchor(StampFactory.forNodeIntrinsic()); + BeginNode anchorNode = BeginNode.anchor(); Word objectHub = loadHubIntrinsic(object, getWordKind(), anchorNode); if (probability(NOT_LIKELY_PROBABILITY, objectHub.readWord(superCheckOffset, LocationIdentity.FINAL_LOCATION).notEqual(hub))) { displayMiss.inc(); @@ -156,7 +156,7 @@ isNull.inc(); return falseValue; } - BeginNode anchorNode = BeginNode.anchor(StampFactory.forNodeIntrinsic()); + BeginNode anchorNode = BeginNode.anchor(); Word objectHub = loadHubIntrinsic(object, getWordKind(), anchorNode); // if we get an exact match: succeed immediately ExplodeLoopNode.explodeLoop(); @@ -183,7 +183,7 @@ isNull.inc(); return falseValue; } - BeginNode anchorNode = BeginNode.anchor(StampFactory.forNodeIntrinsic()); + BeginNode anchorNode = BeginNode.anchor(); Word hub = loadWordFromObject(mirror, klassOffset()); Word objectHub = loadHubIntrinsic(object, getWordKind(), anchorNode); if (!checkUnknownSubType(hub, objectHub)) {