/[pcre]/code/trunk/sljit/sljitUtils.c
ViewVC logotype

Diff of /code/trunk/sljit/sljitUtils.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 948 by ph10, Wed Dec 28 17:16:11 2011 UTC revision 949 by zherczeg, Thu Mar 8 10:28:49 2012 UTC
# Line 233  SLJIT_API_FUNC_ATTRIBUTE sljit_w SLJIT_C Line 233  SLJIT_API_FUNC_ATTRIBUTE sljit_w SLJIT_C
233          aligned_new_limit = (new_limit + sljit_page_align) & ~sljit_page_align;          aligned_new_limit = (new_limit + sljit_page_align) & ~sljit_page_align;
234          aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align;          aligned_old_limit = (stack->limit + sljit_page_align) & ~sljit_page_align;
235          if (aligned_new_limit < aligned_old_limit)          if (aligned_new_limit < aligned_old_limit)
236                  madvise((void*)aligned_new_limit, aligned_old_limit - aligned_new_limit, MADV_DONTNEED);                  posix_madvise((void*)aligned_new_limit, aligned_old_limit - aligned_new_limit, POSIX_MADV_DONTNEED);
237          stack->limit = new_limit;          stack->limit = new_limit;
238          return 0;          return 0;
239  #endif  #endif

Legend:
Removed from v.948  
changed lines
  Added in v.949

  ViewVC Help
Powered by ViewVC 1.1.5