diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-10-30 15:53:50 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-10-30 15:53:50 +0000 |
commit | 8ea43dc8262c63460fee9fcba4164e8b15a45289 (patch) | |
tree | 39d612bece193c5b5107274a67c4cf45efbbba2f | |
parent | 9b5be9b5aa498a302ab752a0d1cdb335a620ede2 (diff) | |
download | perl-8ea43dc8262c63460fee9fcba4164e8b15a45289.tar.gz |
VOL should be used instead of volatile in the core.
p4raw-id: //depot/perl@29157
-rw-r--r-- | op.c | 4 | ||||
-rw-r--r-- | perl.c | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -2118,8 +2118,8 @@ Perl_fold_constants(pTHX_ register OP *o) dVAR; register OP *curop; OP *newop; - volatile I32 type = o->op_type; - volatile SV *sv = NULL; + VOL I32 type = o->op_type; + VOL SV *sv = NULL; int ret = 0; I32 oldscope; OP *old_next; @@ -539,7 +539,7 @@ int perl_destruct(pTHXx) { dVAR; - volatile int destruct_level; /* 0=none, 1=full, 2=full with checks */ + VOL int destruct_level; /* 0=none, 1=full, 2=full with checks */ HV *hv; #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP pid_t child; @@ -2589,7 +2589,7 @@ Perl_call_sv(pTHX_ SV *sv, I32 flags) LOGOP myop; /* fake syntax tree node */ UNOP method_op; I32 oldmark; - volatile I32 retval = 0; + VOL I32 retval = 0; I32 oldscope; bool oldcatch = CATCH_GET; int ret; @@ -2716,8 +2716,8 @@ Perl_eval_sv(pTHX_ SV *sv, I32 flags) dVAR; dSP; UNOP myop; /* fake syntax tree node */ - volatile I32 oldmark = SP - PL_stack_base; - volatile I32 retval = 0; + VOL I32 oldmark = SP - PL_stack_base; + VOL I32 retval = 0; int ret; OP* const oldop = PL_op; dJMPENV; |