summaryrefslogtreecommitdiff
path: root/ext/B/B.pm
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1999-01-02 14:06:30 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1999-01-02 14:06:30 +0000
commit4c1f658f2c79575014c109439365f1a6c403e8c4 (patch)
tree6daea778de23f90a849bc4e50dd1b949d1bc6649 /ext/B/B.pm
parent735441390c16c09ebb52147d3fa2b2a5ebe75048 (diff)
downloadperl-4c1f658f2c79575014c109439365f1a6c403e8c4.tar.gz
Export constant subs from B.xs for op.h, cop.h and a few others.
Use them in various B::* rather than have local defs. p4raw-id: //depot/perl@2551
Diffstat (limited to 'ext/B/B.pm')
-rw-r--r--ext/B/B.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/B/B.pm b/ext/B/B.pm
index 1599fe21c5..8fd3baf664 100644
--- a/ext/B/B.pm
+++ b/ext/B/B.pm
@@ -14,7 +14,7 @@ require Exporter;
main_root main_start main_cv svref_2object opnumber
walkoptree walkoptree_slow walkoptree_exec walksymtable
parents comppadlist sv_undef compile_stats timing_info init_av);
-
+sub OPf_KIDS ();
use strict;
@B::SV::ISA = 'B::OBJECT';
@B::NULL::ISA = 'B::SV';
@@ -65,10 +65,6 @@ sub debug {
walkoptree_debug($value);
}
-# sub OPf_KIDS;
-# add to .xs for perl5.002
-sub OPf_KIDS () { 4 }
-
sub class {
my $obj = shift;
my $name = ref $obj;