# HG changeset patch # User Doug Simon # Date 1355840895 -3600 # Node ID 5b969d6f46064181fff4ba0fd7ce25622b44b779 # Parent 4558c8aedd5f3be70b4e72fed886174432d0d29f 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 diff -r 4558c8aedd5f -r 5b969d6f4606 graal/com.oracle.graal.snippets.test/src/com/oracle/graal/snippets/IntrinsificationTest.java --- 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() { + return Debug.scope("IntrinsificationTest", runtime.lookupJavaMethod(getMethod(snippet)), new Callable() { @Override public StructuredGraph call() { StructuredGraph graph = parse(snippet);