S_del_body is sufficiently small that inlining it is a space win.
[p5sagit/p5-mst-13.2.git] / op.c
diff --git a/op.c b/op.c
index 7b4f477..814b07d 100644 (file)
--- a/op.c
+++ b/op.c
@@ -4295,7 +4295,7 @@ Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
     }
 #endif
 
-    if (!block || !ps || *ps || attrs)
+    if (!block || !ps || *ps || attrs || (CvFLAGS(PL_compcv) & CVf_BUILTIN_ATTRS))
        const_sv = Nullsv;
     else
        const_sv = op_const_sv(block, Nullcv);