# HG changeset patch # User Christos Kotselidis # Date 1374265120 -7200 # Node ID 2e852e96f97793105b6737e3670d702878be18dd # Parent 78a4df8953a1935efdb74af49c0c60b61f092b06 Method renaming diff -r 78a4df8953a1 -r 2e852e96f977 graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java --- a/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java Fri Jul 19 22:14:53 2013 +0200 +++ b/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java Fri Jul 19 22:18:40 2013 +0200 @@ -165,7 +165,7 @@ */ @Test public void test6() throws Exception { - test2("test6Snippet", wr, new Long(referentOffset()), null); + test2("testUnsafeLoad", wr, new Long(referentOffset()), null); } /** @@ -174,7 +174,7 @@ */ @Test public void test7() throws Exception { - test2("test6Snippet", con, new Long(referentOffset()), null); + test2("testUnsafeLoad", con, new Long(referentOffset()), null); } /** @@ -184,7 +184,7 @@ */ @Test public void test8() throws Exception { - test2("test6Snippet", wr, new Long(32), null); + test2("testUnsafeLoad", wr, new Long(32), null); } /** @@ -194,7 +194,7 @@ */ @Test public void test10() throws Exception { - test2("test6Snippet", wr, new Long(8), new Integer(8)); + test2("testUnsafeLoad", wr, new Long(8), new Integer(8)); } /** @@ -204,10 +204,10 @@ */ @Test public void test9() throws Exception { - test2("test6Snippet", wr, new Long(16), new Integer(16)); + test2("testUnsafeLoad", wr, new Long(16), new Integer(16)); } - public static Object test6Snippet(Object a, Object b, Object c) throws Exception { + public static Object testUnsafeLoad(Object a, Object b, Object c) throws Exception { final int offset = (c == null ? 0 : ((Integer) c).intValue()); final long displacement = (b == null ? 0 : ((Long) b).longValue()); return UnsafeLoadNode.load(a, offset, displacement, Kind.Object);