hotspot/src/cpu/x86/vm/assembler_x86.cpp
changeset 5053 4079ecbb654b
parent 4478 c3a8af0fc6b0
child 5253 d2c37eee9a65
--- a/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Wed Mar 17 10:22:41 2010 +0100
+++ b/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Wed Mar 17 10:47:03 2010 -0700
@@ -8460,6 +8460,7 @@
   subptr(str1, result); // Restore counter
   shrl(str1, 1);
   addl(cnt1, str1);
+  decrementl(cnt1);
   lea(str1, Address(result, 2)); // Reload string
 
   // Load substr