Lines Matching refs:code_ptr
224 static SLJIT_INLINE sljit_si detect_jump_type(struct sljit_jump *jump, sljit_uh *code_ptr, sljit_uh *code)
235 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2)) >> 1;
239 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1;
346 sljit_uh *code_ptr;
363 code_ptr = code;
373 *code_ptr = *buf_ptr++;
379 label->addr = ((sljit_uw)code_ptr) | 0x1;
380 label->size = code_ptr - code;
384 jump->addr = (sljit_uw)code_ptr - ((jump->flags & IS_COND) ? 10 : 8);
385 code_ptr -= detect_jump_type(jump, code_ptr, code);
389 const_->addr = (sljit_uw)code_ptr;
392 code_ptr ++;
400 label->addr = ((sljit_uw)code_ptr) | 0x1;
401 label->size = code_ptr - code;
408 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size);
417 compiler->executable_size = (code_ptr - code) * sizeof(sljit_uh);
418 SLJIT_CACHE_FLUSH(code, code_ptr);