Mercurial > hg > graal-jvmci-8
diff src/share/vm/c1/c1_Runtime1.cpp @ 1472:7641338cfc92
Small NPE fix. More detailed error in case of wrong bytecode in patching stub.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 25 Nov 2010 19:21:22 +0100 |
parents | 8cfe3537a0d3 |
children | 2fe369533fed |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.cpp Tue Nov 23 18:42:21 2010 +0100 +++ b/src/share/vm/c1/c1_Runtime1.cpp Thu Nov 25 19:21:22 2010 +0100 @@ -835,7 +835,9 @@ k = resolved->klass_part()->java_mirror(); } break; - default: Unimplemented(); + default: + tty->print_cr("Unhandled bytecode: %d stub_id=%d caller=%s bci=%d pc=%d", code, stub_id, caller_method->name()->as_C_string(), bci, caller_frame.pc()); + Unimplemented(); } // convert to handle load_klass = Handle(THREAD, k);