diff options
author | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2014-03-26 18:23:42 +0000 |
---|---|---|
committer | zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2014-03-26 18:23:42 +0000 |
commit | 1c276281e7217bf44effdee58ab19a7d895df2e0 (patch) | |
tree | 347e0abb779146b03638cf6daa7c8f968735aec4 /sljit | |
parent | 978f3b8dbb82c432e48d55a3304547b0a24b3511 (diff) | |
download | pcre-1c276281e7217bf44effdee58ab19a7d895df2e0.tar.gz |
JIT compiler update.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1466 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'sljit')
-rw-r--r-- | sljit/sljitNativeARM_64.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sljit/sljitNativeARM_64.c b/sljit/sljitNativeARM_64.c index c323393..cfd1a38 100644 --- a/sljit/sljitNativeARM_64.c +++ b/sljit/sljitNativeARM_64.c @@ -307,7 +307,7 @@ SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compil compiler->error = SLJIT_ERR_COMPILED; compiler->executable_size = (code_ptr - code) * sizeof(sljit_ins); - /* SLJIT_CACHE_FLUSH(code, code_ptr); */ + SLJIT_CACHE_FLUSH(code, code_ptr); return code; } @@ -1762,6 +1762,7 @@ static SLJIT_INLINE struct sljit_jump* emit_cmp_to0(struct sljit_compiler *compi sljit_ins inv_bits = (type & SLJIT_INT_OP) ? (1 << 31) : 0; SLJIT_ASSERT((type & 0xff) == SLJIT_C_EQUAL || (type & 0xff) == SLJIT_C_NOT_EQUAL); + ADJUST_LOCAL_OFFSET(src, srcw); jump = (struct sljit_jump*)ensure_abuf(compiler, sizeof(struct sljit_jump)); PTR_FAIL_IF(!jump); @@ -1890,12 +1891,12 @@ SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_ad { sljit_ins* inst = (sljit_ins*)addr; modify_imm64_const(inst, new_addr); - /* SLJIT_CACHE_FLUSH(inst, inst + 4); */ + SLJIT_CACHE_FLUSH(inst, inst + 4); } SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) { sljit_ins* inst = (sljit_ins*)addr; modify_imm64_const(inst, new_constant); - /* SLJIT_CACHE_FLUSH(inst, inst + 4); */ + SLJIT_CACHE_FLUSH(inst, inst + 4); } |