[Pcre-svn] [205] code/trunk/src/sljit/sljitNativeARM_32.c: J…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [205] code/trunk/src/sljit/sljitNativeARM_32.c: JIT compiler update.
Revision: 205
          http://www.exim.org/viewvc/pcre2?view=rev&revision=205
Author:   zherczeg
Date:     2015-02-23 07:50:53 +0000 (Mon, 23 Feb 2015)


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

Modified Paths:
--------------
    code/trunk/src/sljit/sljitNativeARM_32.c


Modified: code/trunk/src/sljit/sljitNativeARM_32.c
===================================================================
--- code/trunk/src/sljit/sljitNativeARM_32.c    2015-02-21 18:53:51 UTC (rev 204)
+++ code/trunk/src/sljit/sljitNativeARM_32.c    2015-02-23 07:50:53 UTC (rev 205)
@@ -315,7 +315,7 @@
     sljit_si value;
 };


-static SLJIT_INLINE sljit_si resolve_const_pool_index(struct future_patch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr)
+static SLJIT_INLINE sljit_si resolve_const_pool_index(struct sljit_compiler *compiler, struct future_patch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr)
 {
     sljit_si value;
     struct future_patch *curr_patch, *prev_patch;
@@ -623,7 +623,7 @@
                     cpool_skip_alignment--;
                 }
                 else {
-                    if (SLJIT_UNLIKELY(resolve_const_pool_index(&first_patch, cpool_current_index, cpool_start_address, buf_ptr))) {
+                    if (SLJIT_UNLIKELY(resolve_const_pool_index(compiler, &first_patch, cpool_current_index, cpool_start_address, buf_ptr))) {
                         SLJIT_FREE_EXEC(code);
                         compiler->error = SLJIT_ERR_ALLOC_FAILED;
                         return NULL;
@@ -713,7 +713,7 @@
         buf_end = buf_ptr + compiler->cpool_fill;
         cpool_current_index = 0;
         while (buf_ptr < buf_end) {
-            if (SLJIT_UNLIKELY(resolve_const_pool_index(&first_patch, cpool_current_index, cpool_start_address, buf_ptr))) {
+            if (SLJIT_UNLIKELY(resolve_const_pool_index(compiler, &first_patch, cpool_current_index, cpool_start_address, buf_ptr))) {
                 SLJIT_FREE_EXEC(code);
                 compiler->error = SLJIT_ERR_ALLOC_FAILED;
                 return NULL;