/[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 1455 by zherczeg, Thu Jan 30 06:10:21 2014 UTC revision 1456 by zherczeg, Fri Feb 28 09:25:37 2014 UTC
# Line 69  static sljit_ub* generate_fixed_jump(slj Line 69  static sljit_ub* generate_fixed_jump(slj
69  {  {
70          sljit_sw delta = addr - ((sljit_sw)code_ptr + 1 + sizeof(sljit_si));          sljit_sw delta = addr - ((sljit_sw)code_ptr + 1 + sizeof(sljit_si));
71    
72          if (delta <= SLJIT_W(0x7fffffff) && delta >= SLJIT_W(-0x80000000)) {          if (delta <= 0x7fffffffl && delta >= -0x80000000l) {
73                  *code_ptr++ = (type == 2) ? CALL_i32 : JMP_i32;                  *code_ptr++ = (type == 2) ? CALL_i32 : JMP_i32;
74                  *(sljit_sw*)code_ptr = delta;                  *(sljit_sw*)code_ptr = delta;
75          }          }

Legend:
Removed from v.1455  
changed lines
  Added in v.1456

  ViewVC Help
Powered by ViewVC 1.1.5