[Pcre-svn] [1267] code/trunk/sljit/sljitNativeARM_v5.c: JIT …

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1267] code/trunk/sljit/sljitNativeARM_v5.c: JIT compiler update.
Revision: 1267
          http://vcs.pcre.org/viewvc?view=rev&revision=1267
Author:   zherczeg
Date:     2013-03-04 07:36:33 +0000 (Mon, 04 Mar 2013)


Log Message:
-----------
JIT compiler update.

Modified Paths:
--------------
    code/trunk/sljit/sljitNativeARM_v5.c


Modified: code/trunk/sljit/sljitNativeARM_v5.c
===================================================================
--- code/trunk/sljit/sljitNativeARM_v5.c    2013-03-03 11:14:26 UTC (rev 1266)
+++ code/trunk/sljit/sljitNativeARM_v5.c    2013-03-04 07:36:33 UTC (rev 1267)
@@ -405,7 +405,6 @@
     if (diff & 0x3)
         return 0;


-    diff >>= 2;
     if (jump->flags & IS_BL) {
         if (diff <= 0x01ffffff && diff >= -0x02000000) {
             *code_ptr = (BL - CONDITIONAL) | (*(code_ptr + 1) & COND_MASK);
@@ -431,7 +430,6 @@
     if (diff & 0x3)
         return 0;


-    diff >>= 2;
     if (diff <= 0x01ffffff && diff >= -0x02000000) {
         code_ptr -= 2;
         *code_ptr = ((jump->flags & IS_BL) ? (BL - CONDITIONAL) : (B - CONDITIONAL)) | (code_ptr[2] & COND_MASK);