Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp @ 23330:83b296a07c33
Fix wrong pointer cast.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 21 Mar 2016 18:55:07 +0100 |
parents | f8178417d018 |
children | edf3f2eb3b00 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp Mon Mar 21 13:52:18 2016 +0100 +++ b/src/cpu/sparc/vm/jvmciCodeInstaller_sparc.cpp Mon Mar 21 18:55:07 2016 +0100 @@ -77,7 +77,7 @@ #endif } else { NativeMovConstReg* move = nativeMovConstReg_at(pc); - MetaspaceObj* reference = record_metadata_reference(constant, CHECK); + void* reference = record_metadata_reference(constant, CHECK); move->set_data((intptr_t)reference); TRACE_jvmci_3("relocating (metaspace constant) at %p/%p", pc, reference); }