< prev index next >

src/share/vm/c1/c1_GraphBuilder.cpp

Print this page

        

*** 345,354 **** --- 345,357 ---- } make_block_at(cur_bci + sw.default_offset(), current); current = NULL; break; } + + default: + break; } } }
*** 1486,1495 **** --- 1489,1500 ---- { Value mask = append(new Constant(new IntConstant(1))); x = append(new LogicOp(Bytecodes::_iand, x, mask)); break; } + default: + break; } // Check to see whether we are inlining. If so, Return // instructions become Gotos to the continuation point. if (continuation() != NULL) {
*** 1845,1854 **** --- 1850,1861 ---- code = Bytecodes::_invokespecial; break; case Bytecodes::_invokehandle: code = target->is_static() ? Bytecodes::_invokestatic : Bytecodes::_invokespecial; break; + default: + break; } } else { if (bc_raw == Bytecodes::_invokehandle) { assert(!will_link, "should come here only for unlinked call"); code = Bytecodes::_invokespecial;
*** 1991,2006 **** code = Bytecodes::_invokespecial; } // check if we could do inlining if (!PatchALot && Inline && target->is_loaded() && ! (klass->is_initialized() || klass->is_interface() && target->holder()->is_initialized()) && !patch_for_appendix) { // callee is known => check if we have static binding if (code == Bytecodes::_invokestatic || code == Bytecodes::_invokespecial || ! code == Bytecodes::_invokevirtual && target->is_final_method() || code == Bytecodes::_invokedynamic) { ciMethod* inline_target = (cha_monomorphic_target != NULL) ? cha_monomorphic_target : target; // static binding => check if callee is ok bool success = try_inline(inline_target, (cha_monomorphic_target != NULL) || (exact_target != NULL), false, code, better_receiver); --- 1998,2013 ---- code = Bytecodes::_invokespecial; } // check if we could do inlining if (!PatchALot && Inline && target->is_loaded() && ! (klass->is_initialized() || (klass->is_interface() && target->holder()->is_initialized())) && !patch_for_appendix) { // callee is known => check if we have static binding if (code == Bytecodes::_invokestatic || code == Bytecodes::_invokespecial || ! (code == Bytecodes::_invokevirtual && target->is_final_method()) || code == Bytecodes::_invokedynamic) { ciMethod* inline_target = (cha_monomorphic_target != NULL) ? cha_monomorphic_target : target; // static binding => check if callee is ok bool success = try_inline(inline_target, (cha_monomorphic_target != NULL) || (exact_target != NULL), false, code, better_receiver);
< prev index next >