summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 16:26:56 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:51:54 +0100
commit8162b70e63fb41df1eaf259c13d61d8b563cd7f5 (patch)
tree11c01a18a4ea042a9857efa20f0b0b120fb9c310 /op.c
parent516e10a9956d11346cdddceee7203ef7e6181dc0 (diff)
downloadperl-8162b70e63fb41df1eaf259c13d61d8b563cd7f5.tar.gz
Don't use VOL internally, because "volatile" works just fine
However, we do preserve it outside PERL_CORE for the use of XS authors.
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/op.c b/op.c
index 95b7971a9c..14764ad349 100644
--- a/op.c
+++ b/op.c
@@ -4448,11 +4448,11 @@ static OP *
S_fold_constants(pTHX_ OP *const o)
{
dVAR;
- OP * VOL curop;
+ OP * volatile curop;
OP *newop;
- VOL I32 type = o->op_type;
+ volatile I32 type = o->op_type;
bool is_stringify;
- SV * VOL sv = NULL;
+ SV * volatile sv = NULL;
int ret = 0;
OP *old_next;
SV * const oldwarnhook = PL_warnhook;