# HG changeset patch # User Doug Simon # Date 1363869927 -3600 # Node ID 6920ffef95a8474c4c262176173cfb5c3ab5abcc # Parent 1571adaf302bc29ecde0a9b66c0795690b665be4 small documentation fix diff -r 1571adaf302b -r 6920ffef95a8 graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/ReplacementsInstaller.java --- 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 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";