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

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

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

revision 969 by zherczeg, Sun May 27 04:33:38 2012 UTC revision 995 by zherczeg, Wed Jul 11 11:05:30 2012 UTC
# Line 186  Line 186 
186    
187  #if (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32)  #if (defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32)
188  #define SLJIT_HAS_FIXED_LOCALS_OFFSET 1  #define SLJIT_HAS_FIXED_LOCALS_OFFSET 1
189    #if (defined SLJIT_INDIRECT_CALL && SLJIT_INDIRECT_CALL)
190    #define FIXED_LOCALS_OFFSET ((6 + 8) * sizeof(sljit_w))
191    #else
192  #define FIXED_LOCALS_OFFSET (2 * sizeof(sljit_w))  #define FIXED_LOCALS_OFFSET (2 * sizeof(sljit_w))
193  #endif  #endif
194    #endif
195    
196  #if (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)  #if (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)
197  #define SLJIT_HAS_FIXED_LOCALS_OFFSET 1  #define SLJIT_HAS_FIXED_LOCALS_OFFSET 1
198  #define FIXED_LOCALS_OFFSET ((7 + 8) * sizeof(sljit_w))  #define FIXED_LOCALS_OFFSET ((6 + 8) * sizeof(sljit_w))
199  #endif  #endif
200    
201  #if (defined SLJIT_HAS_VARIABLE_LOCALS_OFFSET && SLJIT_HAS_VARIABLE_LOCALS_OFFSET)  #if (defined SLJIT_HAS_VARIABLE_LOCALS_OFFSET && SLJIT_HAS_VARIABLE_LOCALS_OFFSET)
# Line 336  SLJIT_API_FUNC_ATTRIBUTE void sljit_free Line 340  SLJIT_API_FUNC_ATTRIBUTE void sljit_free
340          /* Remove thumb mode flag. */          /* Remove thumb mode flag. */
341          SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1));          SLJIT_FREE_EXEC((void*)((sljit_uw)code & ~0x1));
342  }  }
343  #elif (defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64)  #elif (defined SLJIT_INDIRECT_CALL && SLJIT_INDIRECT_CALL)
344  SLJIT_API_FUNC_ATTRIBUTE void sljit_free_code(void* code)  SLJIT_API_FUNC_ATTRIBUTE void sljit_free_code(void* code)
345  {  {
346          /* Resolve indirection. */          /* Resolve indirection. */

Legend:
Removed from v.969  
changed lines
  Added in v.995

  ViewVC Help
Powered by ViewVC 1.1.5