6932091: JSR 292 x86 code cleanup

Some code cleanups found during the JSR 292 SPARC port.

Reviewed-by: kvn, never
This commit is contained in:
Christian Thalinger 2010-03-18 09:56:51 +01:00
parent dac78c30b9
commit 1270c6c005
6 changed files with 72 additions and 118 deletions

View file

@ -2376,8 +2376,7 @@ void LIRGenerator::do_Invoke(Invoke* x) {
CodeEmitInfo* info = state_for(x, x->state());
// invokedynamics can deoptimize.
bool is_invokedynamic = x->code() == Bytecodes::_invokedynamic;
CodeEmitInfo* deopt_info = is_invokedynamic ? state_for(x, x->state_before()) : NULL;
CodeEmitInfo* deopt_info = x->is_invokedynamic() ? state_for(x, x->state_before()) : NULL;
invoke_load_arguments(x, args, arg_list);