--- Faster/Faster.xs 2006/03/10 00:11:44 1.6 +++ Faster/Faster.xs 2006/03/10 22:18:39 1.7 @@ -70,6 +70,9 @@ { OP *op; + if (!ptr) + croak ("NULL not allowed as code address for patch_cv"); + NewOp (0, op, 1, OP); op->op_sibling = CvSTART (cv);