Mercurial > hg > graal-compiler
changeset 10823:2e852e96f977
Method renaming
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Fri, 19 Jul 2013 22:18:40 +0200 |
parents | 78a4df8953a1 |
children | d5a8a7054005 |
files | graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/WriteBarrierAdditionTest.java |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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);