From: Vincent Pit Date: Mon, 15 Jun 2009 13:44:06 +0000 (+0200) Subject: Help the compiler optimize the PL_op->op_private hack X-Git-Tag: v0.02~14 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=c242fc0347a4f52619f45807965c56a25db82cbd;p=perl%2Fmodules%2Fautovivification.git Help the compiler optimize the PL_op->op_private hack --- diff --git a/autovivification.xs b/autovivification.xs index 4b311f6..64fbc2e 100644 --- a/autovivification.xs +++ b/autovivification.xs @@ -304,9 +304,8 @@ STATIC OP *a_pp_deref(pTHX) { U8 old_private; deref: - old_private = PL_op->op_private; - PL_op->op_private &= ~OPpDEREF; - PL_op->op_private |= OPpLVAL_DEFER; + old_private = PL_op->op_private; + PL_op->op_private = ((old_private & ~OPpDEREF) | OPpLVAL_DEFER); o = CALL_FPTR(oi.old_pp)(aTHX); PL_op->op_private = old_private;