"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sljit/sljitNativeX86_32.c" between
pcre-8.43.tar.bz2 and pcre-8.44.tar.bz2

About: The PCRE library implements Perl compatible regular expression pattern matching.

sljitNativeX86_32.c  (pcre-8.43.tar.bz2):sljitNativeX86_32.c  (pcre-8.44.tar.bz2)
skipping to change at line 41 skipping to change at line 41
sljit_u8 *inst; sljit_u8 *inst;
inst = (sljit_u8*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw)); inst = (sljit_u8*)ensure_buf(compiler, 1 + 1 + sizeof(sljit_sw));
FAIL_IF(!inst); FAIL_IF(!inst);
INC_SIZE(1 + sizeof(sljit_sw)); INC_SIZE(1 + sizeof(sljit_sw));
*inst++ = opcode; *inst++ = opcode;
sljit_unaligned_store_sw(inst, imm); sljit_unaligned_store_sw(inst, imm);
return SLJIT_SUCCESS; return SLJIT_SUCCESS;
} }
static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ ptr, sljit_s32 type, sljit_sw executable_offset) static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ ptr, sljit_sw executable_offset)
{ {
sljit_s32 type = jump->flags >> TYPE_SHIFT;
if (type == SLJIT_JUMP) { if (type == SLJIT_JUMP) {
*code_ptr++ = JMP_i32; *code_ptr++ = JMP_i32;
jump->addr++; jump->addr++;
} }
else if (type >= SLJIT_FAST_CALL) { else if (type >= SLJIT_FAST_CALL) {
*code_ptr++ = CALL_i32; *code_ptr++ = CALL_i32;
jump->addr++; jump->addr++;
} }
else { else {
*code_ptr++ = GROUP_0F; *code_ptr++ = GROUP_0F;
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)