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

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

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

revision 859 by zherczeg, Tue Jan 3 17:49:03 2012 UTC revision 860 by zherczeg, Mon Jan 9 20:12:58 2012 UTC
# Line 273  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_ Line 273  SLJIT_API_FUNC_ATTRIBUTE int sljit_emit_
273          return SLJIT_SUCCESS;          return SLJIT_SUCCESS;
274  }  }
275    
276  SLJIT_API_FUNC_ATTRIBUTE void sljit_fake_enter(struct sljit_compiler *compiler, int args, int temporaries, int generals, int local_size)  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_context(struct sljit_compiler *compiler, int args, int temporaries, int generals, int local_size)
277  {  {
278          int pushed_size;          int pushed_size;
279    
280          CHECK_ERROR_VOID();          CHECK_ERROR_VOID();
281          check_sljit_fake_enter(compiler, args, temporaries, generals, local_size);          check_sljit_set_context(compiler, args, temporaries, generals, local_size);
282    
283          compiler->temporaries = temporaries;          compiler->temporaries = temporaries;
284          compiler->generals = generals;          compiler->generals = generals;
# Line 508  static sljit_ub* emit_x86_instruction(st Line 508  static sljit_ub* emit_x86_instruction(st
508                                  inst_size += 4;                                  inst_size += 4;
509                  }                  }
510                  else if (flags & EX86_SHIFT_INS) {                  else if (flags & EX86_SHIFT_INS) {
511                          imma &= 0x3f;                          imma &= compiler->mode32 ? 0x1f : 0x3f;
512                          if (imma != 1) {                          if (imma != 1) {
513                                  inst_size ++;                                  inst_size ++;
514                                  flags |= EX86_BYTE_ARG;                                  flags |= EX86_BYTE_ARG;

Legend:
Removed from v.859  
changed lines
  Added in v.860

  ViewVC Help
Powered by ViewVC 1.1.5