Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp @ 22721:510846133438
8139589: [JVMCI] Using fthrow when throwing JVMCIError.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Tue, 03 Nov 2015 16:55:51 +0100 |
parents | 316e768645c0 |
children | e5b5170606a2 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp Wed Nov 04 16:11:58 2015 +0100 +++ b/src/cpu/x86/vm/jvmciCodeInstaller_x86.cpp Tue Nov 03 16:55:51 2015 +0100 @@ -220,7 +220,7 @@ _instructions->relocate(pc, relocInfo::poll_return_type, Assembler::imm_operand); break; default: - JVMCI_ERROR(err_msg("invalid mark value: %d", mark)); + JVMCI_ERROR("invalid mark value: %d", mark); break; } } @@ -234,7 +234,7 @@ if (floatRegisterNumber < XMMRegisterImpl::number_of_registers) { return as_XMMRegister(floatRegisterNumber)->as_VMReg(); } - JVMCI_ERROR_NULL(err_msg("invalid register number: %d", jvmci_reg)); + JVMCI_ERROR_NULL("invalid register number: %d", jvmci_reg); } }