summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-07-14 13:05:52 -0600
committerKarl Williamson <khw@cpan.org>2018-07-14 17:41:02 -0600
commit7258295b51ee7cac64553fcbcee5e51bd204fbbf (patch)
treec1022227ea3be07a9a809f932d4a4dca3c1b08ed /embedvar.h
parent6b877bbd2c071b3e0659fab552a74dc2ff7e08fb (diff)
downloadperl-7258295b51ee7cac64553fcbcee5e51bd204fbbf.tar.gz
Make global two interpreter variables
These variables are constant, once initialized, through the life of a program, so having them be per instance is a waste of time and space
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/embedvar.h b/embedvar.h
index 1b4d67c768..5bd4a4ea9e 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -50,7 +50,6 @@
#define PL_DBtrace (vTHX->IDBtrace)
#define PL_Dir (vTHX->IDir)
#define PL_Env (vTHX->IEnv)
-#define PL_InBitmap (vTHX->IInBitmap)
#define PL_LIO (vTHX->ILIO)
#define PL_Mem (vTHX->IMem)
#define PL_MemParse (vTHX->IMemParse)
@@ -336,7 +335,6 @@
#define PL_unitcheckav_save (vTHX->Iunitcheckav_save)
#define PL_unlockhook (vTHX->Iunlockhook)
#define PL_unsafe (vTHX->Iunsafe)
-#define PL_utf8_mark (vTHX->Iutf8_mark)
#define PL_utf8cache (vTHX->Iutf8cache)
#define PL_utf8locale (vTHX->Iutf8locale)
#define PL_warn_locale (vTHX->Iwarn_locale)
@@ -359,6 +357,8 @@
#define PL_GGCB_invlist (my_vars->GGCB_invlist)
#define PL_HasMultiCharFold (my_vars->GHasMultiCharFold)
#define PL_GHasMultiCharFold (my_vars->GHasMultiCharFold)
+#define PL_InBitmap (my_vars->GInBitmap)
+#define PL_GInBitmap (my_vars->GInBitmap)
#define PL_LB_invlist (my_vars->GLB_invlist)
#define PL_GLB_invlist (my_vars->GLB_invlist)
#define PL_Latin1 (my_vars->GLatin1)
@@ -473,6 +473,8 @@
#define PL_Gutf8_idcont (my_vars->Gutf8_idcont)
#define PL_utf8_idstart (my_vars->Gutf8_idstart)
#define PL_Gutf8_idstart (my_vars->Gutf8_idstart)
+#define PL_utf8_mark (my_vars->Gutf8_mark)
+#define PL_Gutf8_mark (my_vars->Gutf8_mark)
#define PL_utf8_perl_idcont (my_vars->Gutf8_perl_idcont)
#define PL_Gutf8_perl_idcont (my_vars->Gutf8_perl_idcont)
#define PL_utf8_perl_idstart (my_vars->Gutf8_perl_idstart)