This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
eliminate PL_reg_state
authorDavid Mitchell <davem@iabyn.com>
Fri, 31 May 2013 21:35:40 +0000 (22:35 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 2 Jun 2013 21:28:55 +0000 (22:28 +0100)
commitb3d298be91e6629f3ce52b46c746fbe982114323
treeb5f058b39b0863258642a39b7640c007fb43bec3
parent6d59b6464a160af2e5775a8f6abef1dcad33d7f1
eliminate PL_reg_state

This is a struct that holds all the global state of the current regex
match.
The previous set of commits have gradually removed all the fields of this
struct (by making things local rather than global state). Since the struct
is now empty, the PL_reg_state var can be removed, along with the
SAVEt_RE_STATE save type which was used to save and restore those fields
on recursive re-entry to the regex engine.
embedvar.h
intrpvar.h
regcomp.c
regexec.c
regexp.h
scope.c
scope.h
sv.c