summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-05-18 15:03:14 +1000
committerTony Cook <tony@develop-help.com>2017-09-11 10:59:42 +1000
commitf26b33bdaa1e41fbaf65c649a3208f081fa7571b (patch)
tree08ebd8b38bf725af3bd0a77465a1916229812aaf /embedvar.h
parent3ff4feb5bd226622062600b4127bb8c276c9d5ec (diff)
downloadperl-f26b33bdaa1e41fbaf65c649a3208f081fa7571b.tar.gz
(perl #127663) create a separate random source for internal use
and use it to initialize hash randomization and to innoculate against quadratic behaviour in pp_sort
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index 8b9842f9cc..76efb9104b 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -174,6 +174,7 @@
#define PL_incgv (vTHX->Iincgv)
#define PL_initav (vTHX->Iinitav)
#define PL_inplace (vTHX->Iinplace)
+#define PL_internal_random_state (vTHX->Iinternal_random_state)
#define PL_isarev (vTHX->Iisarev)
#define PL_known_layers (vTHX->Iknown_layers)
#define PL_langinfo_buf (vTHX->Ilanginfo_buf)