# HG changeset patch # User Doug Simon # Date 1355849888 -3600 # Node ID a25b441f6cc011801df86fcb1af6474c0344c7d8 # Parent 9c06e8bd8769b492c9ad4e7a7d06cf79046d5966 add comment explaining temporarily limited application of SnippetFrameStateCleanupPhase diff -r 9c06e8bd8769 -r a25b441f6cc0 graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java --- a/graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java Tue Dec 18 17:32:44 2012 +0100 +++ b/graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java Tue Dec 18 17:58:08 2012 +0100 @@ -165,6 +165,8 @@ new SnippetIntrinsificationPhase(runtime, pool, SnippetTemplate.hasConstantParameter(method)).apply(graph); if (isSubstitutionSnippet) { + // TODO (ds) remove the constraint of only processing substitution snippets + // once issues with the arraycopy snippets have been resolved new SnippetFrameStateCleanupPhase().apply(graph); new DeadCodeEliminationPhase().apply(graph); }