Mercurial > hg > truffle
diff src/share/vm/graal/graalCodeInstaller.cpp @ 3558:bc95d122df79
added runtime call to supply info upon deoptimization
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 24 Aug 2011 17:40:12 +0200 |
parents | 22d11b3bc561 |
children | 6e8fc93551d7 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Wed Aug 24 14:22:34 2011 +0200 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Wed Aug 24 17:40:12 2011 +0200 @@ -597,6 +597,10 @@ call->set_destination(Runtime1::entry_for(Runtime1::graal_handle_exception_id)); _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); TRACE_graal_3("CiRuntimeCall::HandleException()"); + } else if (runtime_call == CiRuntimeCall::SetDeoptInfo()) { + call->set_destination(Runtime1::entry_for(Runtime1::graal_set_deopt_info_id)); + _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); + TRACE_graal_3("CiRuntimeCall::SetDeoptInfo()"); } else if (runtime_call == CiRuntimeCall::CreateNullPointerException()) { call->set_destination(Runtime1::entry_for(Runtime1::graal_create_null_pointer_exception_id)); _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand);