8152634: generalize exception throwing routines in JVMCIRuntime

Reviewed-by: twisti
This commit is contained in:
Roland Schatz 2016-03-25 12:43:23 +01:00
parent d39c84770b
commit 49558c8d6e
21 changed files with 198 additions and 41 deletions

View file

@ -79,7 +79,7 @@ void CodeInstaller::pd_patch_MetaspaceConstant(int pc_offset, Handle constant, T
#endif
} else {
NativeMovConstReg* move = nativeMovConstReg_at(pc);
Metadata* 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 " PTR_FORMAT "/" PTR_FORMAT, p2i(pc), p2i(reference));
}