/[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 740 by zherczeg, Mon Oct 31 06:10:14 2011 UTC revision 752 by zherczeg, Sat Nov 19 15:28:29 2011 UTC
# Line 195  static void init_compiler(void); Line 195  static void init_compiler(void);
195    
196  SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void)  SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void)
197  {  {
198          struct sljit_compiler *compiler = (struct sljit_compiler*)SLJIT_MALLOC_ZEROED(sizeof(struct sljit_compiler));          struct sljit_compiler *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compiler));
199          if (!compiler)          if (!compiler)
200                  return NULL;                  return NULL;
201            SLJIT_ZEROMEM(compiler, sizeof(struct sljit_compiler));
202    
203          SLJIT_COMPILE_ASSERT(          SLJIT_COMPILE_ASSERT(
204                  sizeof(sljit_b) == 1 && sizeof(sljit_ub) == 1                  sizeof(sljit_b) == 1 && sizeof(sljit_ub) == 1

Legend:
Removed from v.740  
changed lines
  Added in v.752

  ViewVC Help
Powered by ViewVC 1.1.5