Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/callGenerator.cpp Thu Jul 31 15:47:42 2008 -0700 +++ b/src/share/vm/opto/callGenerator.cpp Fri Aug 01 10:06:45 2008 -0700 @@ -464,6 +464,12 @@ } } + if (kit.stopped()) { + // Instance exactly does not matches the desired type. + kit.set_jvms(slow_jvms); + return kit.transfer_exceptions_into_jvms(); + } + // fall through if the instance exactly matches the desired type kit.replace_in_map(receiver, exact_receiver);