Mercurial > hg > truffle
diff src/share/vm/c1x/c1x_CodeInstaller.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 | cd18e3072ea5 |
children | 1f81c0d18c75 |
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_CodeInstaller.cpp Tue Nov 23 18:42:21 2010 +0100 +++ b/src/share/vm/c1x/c1x_CodeInstaller.cpp Thu Nov 25 19:21:22 2010 +0100 @@ -484,7 +484,6 @@ } case MARK_INVOKESTATIC: { assert(method == NULL || method->is_static(), "cannot call non-static method with invokestatic"); - call->set_destination(SharedRuntime::get_resolve_static_call_stub()); _instructions->relocate(call->instruction_address(), relocInfo::static_call_type, Assembler::call32_operand); break;