summaryrefslogtreecommitdiff
path: root/src/pcre2_jit_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcre2_jit_misc.c')
-rw-r--r--src/pcre2_jit_misc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pcre2_jit_misc.c b/src/pcre2_jit_misc.c
index c5b1cf6..6b86ff2 100644
--- a/src/pcre2_jit_misc.c
+++ b/src/pcre2_jit_misc.c
@@ -190,6 +190,17 @@ if (jit_stack != NULL)
/*************************************************
+* Get target CPU type *
+*************************************************/
+
+const char*
+PRIV(jit_get_target)(void)
+{
+return sljit_get_platform_name();
+}
+
+
+/*************************************************
* Get size of JIT code *
*************************************************/