hotspot/src/cpu/x86/vm/methodHandles_x86.cpp
changeset 5028 5a7f933d81c1
parent 4564 55dfb20908d0
child 5044 7e40acdf2163
--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp	Mon Feb 22 16:56:49 2010 -0800
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp	Tue Feb 23 17:46:29 2010 +0100
@@ -584,7 +584,7 @@
 
       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);