changeset 15125:f4c5498fdf4c

clarified comment
author Doug Simon <doug.simon@oracle.com>
date Wed, 16 Apr 2014 11:16:00 +0200
parents 76c90aa967b1
children bd4c7b669bd8
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/HotSpotNodeSubstitutions.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }