Mercurial > hg > graal-compiler
diff src/share/vm/opto/loopTransform.cpp @ 1844:75588558f1bf
6980792: Crash "exception happened outside interpreter, nmethods and vtable stubs (1)"
Reviewed-by: kvn
author | never |
---|---|
date | Thu, 07 Oct 2010 21:40:55 -0700 |
parents | c77e8f982901 |
children | f95d63e2154a |
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp Wed Oct 06 14:18:32 2010 -0700 +++ b/src/share/vm/opto/loopTransform.cpp Thu Oct 07 21:40:55 2010 -0700 @@ -2684,7 +2684,14 @@ fill_name, TypeAryPtr::get_array_body_type(t)); call->init_req(TypeFunc::Parms+0, from); call->init_req(TypeFunc::Parms+1, store_value); +#ifdef _LP64 + len = new (C, 2) ConvI2LNode(len); + _igvn.register_new_node_with_optimizer(len); +#endif call->init_req(TypeFunc::Parms+2, len); +#ifdef _LP64 + call->init_req(TypeFunc::Parms+3, C->top()); +#endif call->init_req( TypeFunc::Control, head->init_control()); call->init_req( TypeFunc::I_O , C->top() ) ; // does no i/o call->init_req( TypeFunc::Memory , mem_phi->in(LoopNode::EntryControl) );