Jit: fix for string/indexOf handler.
diff --git a/vm/compiler/template/armv5te/TEMPLATE_STRING_INDEXOF.S b/vm/compiler/template/armv5te/TEMPLATE_STRING_INDEXOF.S
index 3eb3e87..84c4880 100644
--- a/vm/compiler/template/armv5te/TEMPLATE_STRING_INDEXOF.S
+++ b/vm/compiler/template/armv5te/TEMPLATE_STRING_INDEXOF.S
@@ -57,7 +57,7 @@
       *   r3, r4, r9, r10, r11, r12 available for loading string data
       */
 
-    sub   r8, #4
+    subs  r8, #4
     blt   indexof_remainder
 
 indexof_loop4:
diff --git a/vm/compiler/template/out/CompilerTemplateAsm-armv5te-vfp.S b/vm/compiler/template/out/CompilerTemplateAsm-armv5te-vfp.S
index c53af2b..00385a5 100644
--- a/vm/compiler/template/out/CompilerTemplateAsm-armv5te-vfp.S
+++ b/vm/compiler/template/out/CompilerTemplateAsm-armv5te-vfp.S
@@ -1285,7 +1285,7 @@
       *   r3, r4, r9, r10, r11, r12 available for loading string data
       */
 
-    sub   r8, #4
+    subs  r8, #4
     blt   indexof_remainder
 
 indexof_loop4:
diff --git a/vm/compiler/template/out/CompilerTemplateAsm-armv5te.S b/vm/compiler/template/out/CompilerTemplateAsm-armv5te.S
index 11689f2..f452787 100644
--- a/vm/compiler/template/out/CompilerTemplateAsm-armv5te.S
+++ b/vm/compiler/template/out/CompilerTemplateAsm-armv5te.S
@@ -1010,7 +1010,7 @@
       *   r3, r4, r9, r10, r11, r12 available for loading string data
       */
 
-    sub   r8, #4
+    subs  r8, #4
     blt   indexof_remainder
 
 indexof_loop4:
diff --git a/vm/compiler/template/out/CompilerTemplateAsm-armv7-a.S b/vm/compiler/template/out/CompilerTemplateAsm-armv7-a.S
index 8e0e723..cfc50fa 100644
--- a/vm/compiler/template/out/CompilerTemplateAsm-armv7-a.S
+++ b/vm/compiler/template/out/CompilerTemplateAsm-armv7-a.S
@@ -1285,7 +1285,7 @@
       *   r3, r4, r9, r10, r11, r12 available for loading string data
       */
 
-    sub   r8, #4
+    subs  r8, #4
     blt   indexof_remainder
 
 indexof_loop4: