Mercurial > hg > graal-compiler
changeset 7272:a25b441f6cc0
add comment explaining temporarily limited application of SnippetFrameStateCleanupPhase
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 18 Dec 2012 17:58:08 +0100 |
parents | 9c06e8bd8769 |
children | 7f6bf286629c |
files | graal/com.oracle.graal.snippets/src/com/oracle/graal/snippets/SnippetInstaller.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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); }