Mercurial > hg > graal-compiler
changeset 7270:5b969d6f4606
removed arraycopy test from IntrinsificationTest
made the debug scope in IntrinsificationTest use a ResolvedJavaMethod as a context object so that -G:MethodFilter works as expected
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 18 Dec 2012 15:28:15 +0100 |
parents | 4558c8aedd5f |
children | 9c06e8bd8769 |
files | graal/com.oracle.graal.snippets.test/src/com/oracle/graal/snippets/IntrinsificationTest.java |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.snippets.test/src/com/oracle/graal/snippets/IntrinsificationTest.java Tue Dec 18 15:22:37 2012 +0100 +++ b/graal/com.oracle.graal.snippets.test/src/com/oracle/graal/snippets/IntrinsificationTest.java Tue Dec 18 15:28:15 2012 +0100 @@ -128,7 +128,6 @@ public void testSystemIntrinsics() { test("systemTimeSnippet"); test("systemIdentityHashCode"); -// test("arraycopySnippet"); } @SuppressWarnings("all") @@ -140,10 +139,6 @@ public static int systemIdentityHashCode(Object obj) { return System.identityHashCode(obj); } - @SuppressWarnings("all") - public static void arraycopySnippet(int[] src, int srcPos, int[] dest, int destPos, int length) { - System.arraycopy(src, srcPos, dest, destPos, length); - } @Test @@ -400,7 +395,7 @@ private StructuredGraph test(final String snippet) { - return Debug.scope("IntrinsificationTest", new DebugDumpScope(snippet), new Callable<StructuredGraph>() { + return Debug.scope("IntrinsificationTest", runtime.lookupJavaMethod(getMethod(snippet)), new Callable<StructuredGraph>() { @Override public StructuredGraph call() { StructuredGraph graph = parse(snippet);