Lines Matching refs:code_ptr
318 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit… in detect_jump_type() argument
327 return code_ptr; in detect_jump_type()
330 return code_ptr; in detect_jump_type()
447 return code_ptr; in detect_jump_type()
451 static __attribute__ ((noinline)) void sljit_cache_flush(void* code, void* code_ptr) in sljit_cache_flush() argument
453 SLJIT_CACHE_FLUSH(code, code_ptr); in sljit_cache_flush()
510 sljit_ins *code_ptr; in sljit_generate_code() local
531 code_ptr = code; in sljit_generate_code()
545 *code_ptr = *buf_ptr++; in sljit_generate_code()
554 label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
555 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code()
560 jump->addr = (sljit_uw)(code_ptr - 3); in sljit_generate_code()
562 jump->addr = (sljit_uw)(code_ptr - 7); in sljit_generate_code()
564 code_ptr = detect_jump_type(jump, code_ptr, code, executable_offset); in sljit_generate_code()
568 const_->addr = (sljit_uw)code_ptr; in sljit_generate_code()
573 put_label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
575 …code_ptr += put_label_get_length(put_label, (sljit_uw)(SLJIT_ADD_EXEC_OFFSET(code, executable_offs… in sljit_generate_code()
582 code_ptr ++; in sljit_generate_code()
590 label->addr = (sljit_uw)code_ptr; in sljit_generate_code()
591 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code()
599 SLJIT_ASSERT(code_ptr - code <= (sljit_sw)compiler->size); in sljit_generate_code()
670 compiler->executable_size = (sljit_uw)(code_ptr - code) * sizeof(sljit_ins); in sljit_generate_code()
673 code_ptr = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset); in sljit_generate_code()
676 SLJIT_CACHE_FLUSH(code, code_ptr); in sljit_generate_code()
679 sljit_cache_flush(code, code_ptr); in sljit_generate_code()
681 SLJIT_UPDATE_WX_FLAGS(code, code_ptr, 1); in sljit_generate_code()