diff options
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | op.c | 3 | ||||
-rw-r--r-- | proto.h | 5 |
3 files changed, 6 insertions, 4 deletions
@@ -316,7 +316,7 @@ ApdR |SV* |gv_const_sv |NN GV* gv ApdRn |SV* |cv_const_sv |NULLOK const CV *const cv pRn |SV* |cv_const_sv_or_av|NULLOK const CV *const cv : Used in pad.c -pR |SV* |op_const_sv |NULLOK const OP* o|NULLOK CV* cv \ +pR |SV* |op_const_sv |NN const OP* o|NULLOK CV* cv \ |NULLOK CV *outside Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags Apd |void |cv_undef |NN CV* cv @@ -7713,8 +7713,7 @@ Perl_op_const_sv(pTHX_ const OP *o, CV *cv, CV *outcv) { SV *sv = NULL; - if (!o) - return NULL; + PERL_ARGS_ASSERT_OP_CONST_SV; if (o->op_type == OP_LINESEQ && cLISTOPo->op_first) o = OP_SIBLING(cLISTOPo->op_first); @@ -3197,7 +3197,10 @@ PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o) assert(o) PERL_CALLCONV SV* Perl_op_const_sv(pTHX_ const OP* o, CV* cv, CV *outside) - __attribute__warn_unused_result__; + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_OP_CONST_SV \ + assert(o) PERL_CALLCONV OP* Perl_op_contextualize(pTHX_ OP* o, I32 context) __attribute__nonnull__(pTHX_1); |