src/cpu/x86/vm/methodHandles_x86.cpp

changeset 1712
855c5171834c
parent 1570
e66fd840cb6b
child 1728
51db1e4b379d
     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