summaryrefslogtreecommitdiff
path: root/src/sljit/sljitNativeX86_common.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>2020-02-21 07:44:04 +0000
committerzherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>2020-02-21 07:44:04 +0000
commit98c6677bd3ff37d50249b32297abdb6008b42d54 (patch)
tree93b031196c669a32db5fdafbbbb3f55fa6f9eda0 /src/sljit/sljitNativeX86_common.c
parent5b90796ca14042e55b046d28c9eee45a5b03bbd4 (diff)
downloadpcre2-98c6677bd3ff37d50249b32297abdb6008b42d54.tar.gz
JIT compiler update.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1223 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/sljit/sljitNativeX86_common.c')
-rw-r--r--src/sljit/sljitNativeX86_common.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/sljit/sljitNativeX86_common.c b/src/sljit/sljitNativeX86_common.c
index eea9510..9ced936 100644
--- a/src/sljit/sljitNativeX86_common.c
+++ b/src/sljit/sljitNativeX86_common.c
@@ -726,7 +726,7 @@ static SLJIT_INLINE sljit_s32 emit_endbranch(struct sljit_compiler *compiler)
*inst = 0xfa;
#endif
#else
- (void)compiler;
+ SLJIT_UNUSED_ARG(compiler);
#endif
return SLJIT_SUCCESS;
}
@@ -754,7 +754,8 @@ static SLJIT_INLINE sljit_s32 emit_rdssp(struct sljit_compiler *compiler, sljit_
*inst++ = 0x1e;
*inst = (0x3 << 6) | (0x1 << 3) | (reg_map[reg] & 0x7);
#else
- (void)compiler;
+ SLJIT_UNUSED_ARG(compiler);
+ SLJIT_UNUSED_ARG(reg);
#endif
return SLJIT_SUCCESS;
}
@@ -782,7 +783,8 @@ static SLJIT_INLINE sljit_s32 emit_incssp(struct sljit_compiler *compiler, sljit
*inst++ = 0xae;
*inst = (0x3 << 6) | (0x5 << 3) | (reg_map[reg] & 0x7);
#else
- (void)compiler;
+ SLJIT_UNUSED_ARG(compiler);
+ SLJIT_UNUSED_ARG(reg);
#endif
return SLJIT_SUCCESS;
}
@@ -860,6 +862,10 @@ static SLJIT_INLINE sljit_s32 adjust_shadow_stack(struct sljit_compiler *compile
*jz_after_cmp_inst = compiler->size - size_jz_after_cmp_inst;
#else /* SLJIT_CONFIG_X86_CET */
SLJIT_UNUSED_ARG(compiler);
+ SLJIT_UNUSED_ARG(src);
+ SLJIT_UNUSED_ARG(srcw);
+ SLJIT_UNUSED_ARG(base);
+ SLJIT_UNUSED_ARG(disp);
#endif /* SLJIT_CONFIG_X86_CET */
return SLJIT_SUCCESS;
}