Mercurial > hg > graal-compiler
diff src/share/vm/oops/methodOop.cpp @ 726:be93aad57795
6655646: dynamic languages need dynamically linked call sites
Summary: invokedynamic instruction (JSR 292 RI)
Reviewed-by: twisti, never
author | jrose |
---|---|
date | Tue, 21 Apr 2009 23:21:04 -0700 |
parents | e5b0439ef4ae |
children | 75596850f863 |
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.cpp Mon Apr 20 14:48:03 2009 -0700 +++ b/src/share/vm/oops/methodOop.cpp Tue Apr 21 23:21:04 2009 -0700 @@ -161,7 +161,7 @@ int methodOopDesc::bci_from(address bcp) const { - assert(is_native() && bcp == code_base() || contains(bcp), "bcp doesn't belong to this method"); + assert(is_native() && bcp == code_base() || contains(bcp) || is_error_reported(), "bcp doesn't belong to this method"); return bcp - code_base(); }