comparison src/share/vm/opto/callGenerator.cpp @ 293:c3e045194476

6731641: assert(m->adr_type() == mach->adr_type(),"matcher should not change adr type") Summary: fixed few addP node type and narrow oop type problems. Reviewed-by: rasbold, never
author kvn
date Fri, 01 Aug 2008 10:06:45 -0700
parents a61af66fc99e
children 9ee9cf798b59
comparison
equal deleted inserted replaced
257:40b69ca33f4b 293:c3e045194476
462 if (!kit.stopped()) 462 if (!kit.stopped())
463 slow_map = kit.stop(); 463 slow_map = kit.stop();
464 } 464 }
465 } 465 }
466 466
467 if (kit.stopped()) {
468 // Instance exactly does not matches the desired type.
469 kit.set_jvms(slow_jvms);
470 return kit.transfer_exceptions_into_jvms();
471 }
472
467 // fall through if the instance exactly matches the desired type 473 // fall through if the instance exactly matches the desired type
468 kit.replace_in_map(receiver, exact_receiver); 474 kit.replace_in_map(receiver, exact_receiver);
469 475
470 // Make the hot call: 476 // Make the hot call:
471 JVMState* new_jvms = _if_hit->generate(kit.sync_jvms()); 477 JVMState* new_jvms = _if_hit->generate(kit.sync_jvms());