6928839: JSR 292 typo in x86 _adapter_check_cast

Tue, 23 Feb 2010 17:46:29 +0100

author
twisti
date
Tue, 23 Feb 2010 17:46:29 +0100
changeset 1712
855c5171834c
parent 1711
8b38237bae55
child 1713
da9559b49b84

6928839: JSR 292 typo in x86 _adapter_check_cast
Summary: There is a small typo in methodHandles_x86.cpp.
Reviewed-by: kvn

src/cpu/x86/vm/methodHandles_x86.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/x86/vm/methodHandles_x86.cpp	Mon Feb 22 16:56:49 2010 -0800
     1.2 +++ b/src/cpu/x86/vm/methodHandles_x86.cpp	Tue Feb 23 17:46:29 2010 +0100
     1.3 @@ -584,7 +584,7 @@
     1.4  
     1.5        Label done;
     1.6        __ movptr(rdx_temp, vmarg);
     1.7 -      __ testl(rdx_temp, rdx_temp);
     1.8 +      __ testptr(rdx_temp, rdx_temp);
     1.9        __ jccb(Assembler::zero, done);         // no cast if null
    1.10        __ load_klass(rdx_temp, rdx_temp);
    1.11  

mercurial