Lines Matching refs:jump
27 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_jump_has_label(struct sljit_jump *jump) in sljit_jump_has_label() argument
29 return !(jump->flags & JUMP_ADDR) && (jump->u.label != NULL); in sljit_jump_has_label()
32 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_jump_has_target(struct sljit_jump *jump) in sljit_jump_has_target() argument
34 return (jump->flags & JUMP_ADDR) != 0; in sljit_jump_has_target()
37 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_jump_is_mov_addr(struct sljit_jump *jump) in sljit_jump_is_mov_addr() argument
39 return (jump->flags & JUMP_MOV_ADDR) != 0; in sljit_jump_is_mov_addr()
121 struct sljit_jump *jump; in sljit_serialize_compiler() local
160 jump = compiler->jumps; in sljit_serialize_compiler()
161 while (jump != NULL) { in sljit_serialize_compiler()
163 jump = jump->next; in sljit_serialize_compiler()
239 jump = compiler->jumps; in sljit_serialize_compiler()
241 while (jump != NULL) { in sljit_serialize_compiler()
243 serialized_jump->addr = jump->addr; in sljit_serialize_compiler()
244 serialized_jump->flags = jump->flags; in sljit_serialize_compiler()
246 if (jump->flags & JUMP_ADDR) in sljit_serialize_compiler()
247 serialized_jump->value = jump->u.target; in sljit_serialize_compiler()
248 else if (jump->u.label != NULL) in sljit_serialize_compiler()
249 serialized_jump->value = jump->u.label->u.index; in sljit_serialize_compiler()
254 jump = jump->next; in sljit_serialize_compiler()
305 struct sljit_jump *jump; in sljit_deserialize_compiler() local
440 jump = (struct sljit_jump*)ensure_abuf(compiler, sizeof(struct sljit_jump)); in sljit_deserialize_compiler()
441 if (jump == NULL) in sljit_deserialize_compiler()
445 jump->next = NULL; in sljit_deserialize_compiler()
446 jump->addr = serialized_jump->addr; in sljit_deserialize_compiler()
447 jump->flags = serialized_jump->flags; in sljit_deserialize_compiler()
453 jump->u.label = label_list[serialized_jump->value]; in sljit_deserialize_compiler()
455 jump->u.label = NULL; in sljit_deserialize_compiler()
457 jump->u.target = serialized_jump->value; in sljit_deserialize_compiler()
460 last_jump->next = jump; in sljit_deserialize_compiler()
462 compiler->jumps = jump; in sljit_deserialize_compiler()
463 last_jump = jump; in sljit_deserialize_compiler()