Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/NestedLoopTest.java @ 6539:2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 09 Oct 2012 15:23:38 -0700 |
parents | 2e96dc4eb8e2 |
children | 07f05f2a8149 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/NestedLoopTest.java Tue Oct 09 14:06:26 2012 +0200 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/NestedLoopTest.java Tue Oct 09 15:23:38 2012 -0700 @@ -135,7 +135,7 @@ private static Invoke getInvoke(String name, StructuredGraph graph) { for (Invoke invoke : graph.getInvokes()) { - if (invoke.methodCallTarget().targetMethod().name().equals(name)) { + if (invoke.methodCallTarget().targetMethod().getName().equals(name)) { return invoke; } }