changeset 8430:6920ffef95a8

small documentation fix
author Doug Simon <doug.simon@oracle.com>
date Thu, 21 Mar 2013 13:45:27 +0100
parents 1571adaf302b
children be5ce3e9d473
files graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsInstaller.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsInstaller.java	Thu Mar 21 12:30:44 2013 +0100
+++ b/graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsInstaller.java	Thu Mar 21 13:45:27 2013 +0100
@@ -77,7 +77,7 @@
 
     /**
      * Finds all the snippet methods in a given class, builds a graph for them and installs the
-     * graph with the key value of {@code Graph.class} in the
+     * graph with the key value of {@code Snippet.class} in the
      * {@linkplain ResolvedJavaMethod#getCompilerStorage() compiler storage} of each method.
      */
     public void installSnippets(Class<? extends Snippets> snippets) {
@@ -100,9 +100,9 @@
      * Finds all the methods in a given class annotated with {@link MethodSubstitution} or
      * {@link MacroSubstitution}. It builds graphs for the former and installs them in the
      * {@linkplain ResolvedJavaMethod#getCompilerStorage() compiler storage} of the original (i.e.,
-     * substituted) method with a key of {@code Graph.class}. For the latter, the denoted
-     * {@linkplain MacroSubstitution#macro() macro} node type is install in the compiler storage
-     * with a key of {@code Node.class}.
+     * substituted) method with a key of {@code MethodSubstitution.class}. For the latter, the
+     * denoted {@linkplain MacroSubstitution#macro() macro} node type is install in the compiler
+     * storage with a key of {@code Node.class}.
      */
     public void installSubstitutions(Class<?> substitutions) {
         assert owner == Thread.currentThread() : "substitution installation must be single threaded";