summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-21 16:41:58 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-21 17:09:11 +0000
commitb96d8cd966afa49291119752aac86cd1f1de5560 (patch)
treeddea44f6a0b8c59ab9835695c9936f2375fb6afd /op.c
parente350d0e0ab968c54f8b39c21d92b151f1f1611d5 (diff)
downloadperl-b96d8cd966afa49291119752aac86cd1f1de5560.tar.gz
Add get_cvs() as a shortcut for STR_WITH_LEN() and Perl_get_cvn_flags(), and
use it where possible.
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/op.c b/op.c
index e32cbdb4c6..5103efb215 100644
--- a/op.c
+++ b/op.c
@@ -2338,8 +2338,7 @@ Perl_newPROG(pTHX_ OP *o)
/* Register with debugger */
if (PERLDB_INTER) {
- CV * const cv
- = Perl_get_cvn_flags(aTHX_ STR_WITH_LEN("DB::postponed"), 0);
+ CV * const cv = get_cvs("DB::postponed", 0);
if (cv) {
dSP;
PUSHMARK(SP);