Mercurial > hg > truffle
diff graal/com.oracle.graal.replacements.amd64/src/com/oracle/graal/replacements/amd64/AMD64ConvertSnippets.java @ 9602:19c5a07c7843
Introduce a graph() method that returns a StructuredGraph, to make many explicit casts unnecessary
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 07 May 2013 12:03:21 -0700 |
parents | b9e66fc67b31 |
children | 388fbd0dd4a4 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements.amd64/src/com/oracle/graal/replacements/amd64/AMD64ConvertSnippets.java Tue May 07 11:12:28 2013 -0700 +++ b/graal/com.oracle.graal.replacements.amd64/src/com/oracle/graal/replacements/amd64/AMD64ConvertSnippets.java Tue May 07 12:03:21 2013 -0700 @@ -165,7 +165,7 @@ return; } - StructuredGraph graph = (StructuredGraph) convert.graph(); + StructuredGraph graph = convert.graph(); // Insert a unique placeholder node in place of the Convert node so that the // Convert node can be used as an input to the snippet. All usage of the