# HG changeset patch # User Doug Simon # Date 1397639760 -7200 # Node ID f4c5498fdf4c39985a4a8e7e1cb7828bdfec605c # Parent 76c90aa967b1877eaad2787503ba270a018fd317 clarified comment diff -r 76c90aa967b1 -r f4c5498fdf4c graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeSubstitutions.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeSubstitutions.java Tue Apr 15 18:30:11 2014 -1000 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeSubstitutions.java Wed Apr 16 11:16:00 2014 +0200 @@ -39,8 +39,8 @@ @MethodSubstitution(isStatic = false) public static NodeClass getNodeClass(final Node node) { // HotSpot creates the NodeClass for each Node subclass while initializing it - // so we are guaranteed to read a non-null value here. The fact that NodeClass - // is final will automatically make the stamp of the PiNode exact. + // so we are guaranteed to read a non-null value here. As long as NodeClass + // is final, the stamp of the PiNode below will automatically be exact. Word klass = loadHub(node); return piCastNonNull(klass.readObject(Word.signed(klassNodeClassOffset()), KLASS_NODE_CLASS), NodeClass.class); }