6928839: JSR 292 typo in x86 _adapter_check_cast

There is a small typo in methodHandles_x86.cpp.

Reviewed-by: kvn
This commit is contained in:
Christian Thalinger 2010-02-23 17:46:29 +01:00
parent e599f6c927
commit d1a6f819e6

View File

@ -584,7 +584,7 @@ void MethodHandles::generate_method_handle_stub(MacroAssembler* _masm, MethodHan
Label done;
__ movptr(rdx_temp, vmarg);
__ testl(rdx_temp, rdx_temp);
__ testptr(rdx_temp, rdx_temp);
__ jccb(Assembler::zero, done); // no cast if null
__ load_klass(rdx_temp, rdx_temp);