changeset 1364:855c5171834c

6928839: JSR 292 typo in x86 _adapter_check_cast Summary: There is a small typo in methodHandles_x86.cpp. Reviewed-by: kvn
author twisti
date Tue, 23 Feb 2010 17:46:29 +0100
parents 8b38237bae55
children da9559b49b84
files src/cpu/x86/vm/methodHandles_x86.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/methodHandles_x86.cpp	Mon Feb 22 16:56:49 2010 -0800
+++ b/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);