summaryrefslogtreecommitdiff
path: root/bytecode.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-22 01:29:09 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-22 01:29:09 +0000
commit92742e379e6f1679633256cac8dcf3be460cfb98 (patch)
treea2c36dfd735c163f2f75e73022075642c9aa55bc /bytecode.pl
parentcd661bb69faf0e70cffcc62a2ca9539a1dd6a09d (diff)
downloadperl-92742e379e6f1679633256cac8dcf3be460cfb98.tar.gz
s/PL_sv/PL_bytecode_sv/ etc., so we have unique, case-insensitive
names p4raw-id: //depot/perl@1616
Diffstat (limited to 'bytecode.pl')
-rw-r--r--bytecode.pl250
1 files changed, 125 insertions, 125 deletions
diff --git a/bytecode.pl b/bytecode.pl
index 945b496015..cc096ac1bc 100644
--- a/bytecode.pl
+++ b/bytecode.pl
@@ -68,14 +68,14 @@ print BYTERUN_C $c_header, <<'EOT';
void *
bset_obj_store(void *obj, I32 ix)
{
- if (ix > PL_obj_list_fill) {
- if (PL_obj_list_fill == -1)
- New(666, PL_obj_list, ix + 1, void*);
+ if (ix > PL_bytecode_obj_list_fill) {
+ if (PL_bytecode_obj_list_fill == -1)
+ New(666, PL_bytecode_obj_list, ix + 1, void*);
else
- Renew(PL_obj_list, ix + 1, void*);
- PL_obj_list_fill = ix;
+ Renew(PL_bytecode_obj_list, ix + 1, void*);
+ PL_bytecode_obj_list_fill = ix;
}
- PL_obj_list[ix] = obj;
+ PL_bytecode_obj_list[ix] = obj;
return obj;
}
@@ -121,7 +121,7 @@ while (<DATA>) {
if ($flags =~ /x/) {
print BYTERUN_C "\t\tBSET_$insn($lvalue$optarg);\n";
} elsif ($flags =~ /s/) {
- # Store instructions store to PL_obj_list[arg]. "lvalue" field is rvalue.
+ # Store instructions store to PL_bytecode_obj_list[arg]. "lvalue" field is rvalue.
print BYTERUN_C "\t\tBSET_OBJ_STORE($lvalue$optarg);\n";
}
elsif ($optarg && $lvalue ne "none") {
@@ -267,122 +267,122 @@ nop none none
# ret so that \0-terminated strings can be read properly as bytecode.
%number 0
#
-#opcode lvalue argtype flags
+#opcode lvalue argtype flags
#
-ret none none x
-ldsv PL_sv svindex
-ldop PL_op opindex
-stsv PL_sv U32 s
-stop PL_op U32 s
-ldspecsv PL_sv U8 x
-newsv PL_sv U8 x
-newop PL_op U8 x
-newopn PL_op U8 x
-newpv none PV
-pv_cur PL_pv.xpv_cur STRLEN
-pv_free PL_pv none x
-sv_upgrade PL_sv char x
-sv_refcnt SvREFCNT(PL_sv) U32
-sv_refcnt_add SvREFCNT(PL_sv) I32 x
-sv_flags SvFLAGS(PL_sv) U32
-xrv SvRV(PL_sv) svindex
-xpv PL_sv none x
-xiv32 SvIVX(PL_sv) I32
-xiv64 SvIVX(PL_sv) IV64
-xnv SvNVX(PL_sv) double
-xlv_targoff LvTARGOFF(PL_sv) STRLEN
-xlv_targlen LvTARGLEN(PL_sv) STRLEN
-xlv_targ LvTARG(PL_sv) svindex
-xlv_type LvTYPE(PL_sv) char
-xbm_useful BmUSEFUL(PL_sv) I32
-xbm_previous BmPREVIOUS(PL_sv) U16
-xbm_rare BmRARE(PL_sv) U8
-xfm_lines FmLINES(PL_sv) I32
-xio_lines IoLINES(PL_sv) long
-xio_page IoPAGE(PL_sv) long
-xio_page_len IoPAGE_LEN(PL_sv) long
-xio_lines_left IoLINES_LEFT(PL_sv) long
-xio_top_name IoTOP_NAME(PL_sv) pvcontents
-xio_top_gv *(SV**)&IoTOP_GV(PL_sv) svindex
-xio_fmt_name IoFMT_NAME(PL_sv) pvcontents
-xio_fmt_gv *(SV**)&IoFMT_GV(PL_sv) svindex
-xio_bottom_name IoBOTTOM_NAME(PL_sv) pvcontents
-xio_bottom_gv *(SV**)&IoBOTTOM_GV(PL_sv) svindex
-xio_subprocess IoSUBPROCESS(PL_sv) short
-xio_type IoTYPE(PL_sv) char
-xio_flags IoFLAGS(PL_sv) char
-xcv_stash *(SV**)&CvSTASH(PL_sv) svindex
-xcv_start CvSTART(PL_sv) opindex
-xcv_root CvROOT(PL_sv) opindex
-xcv_gv *(SV**)&CvGV(PL_sv) svindex
-xcv_filegv *(SV**)&CvFILEGV(PL_sv) svindex
-xcv_depth CvDEPTH(PL_sv) long
-xcv_padlist *(SV**)&CvPADLIST(PL_sv) svindex
-xcv_outside *(SV**)&CvOUTSIDE(PL_sv) svindex
-xcv_flags CvFLAGS(PL_sv) U8
-av_extend PL_sv SSize_t x
-av_push PL_sv svindex x
-xav_fill AvFILLp(PL_sv) SSize_t
-xav_max AvMAX(PL_sv) SSize_t
-xav_flags AvFLAGS(PL_sv) U8
-xhv_riter HvRITER(PL_sv) I32
-xhv_name HvNAME(PL_sv) pvcontents
-hv_store PL_sv svindex x
-sv_magic PL_sv char x
-mg_obj SvMAGIC(PL_sv)->mg_obj svindex
-mg_private SvMAGIC(PL_sv)->mg_private U16
-mg_flags SvMAGIC(PL_sv)->mg_flags U8
-mg_pv SvMAGIC(PL_sv) pvcontents x
-xmg_stash *(SV**)&SvSTASH(PL_sv) svindex
-gv_fetchpv PL_sv strconst x
-gv_stashpv PL_sv strconst x
-gp_sv GvSV(PL_sv) svindex
-gp_refcnt GvREFCNT(PL_sv) U32
-gp_refcnt_add GvREFCNT(PL_sv) I32 x
-gp_av *(SV**)&GvAV(PL_sv) svindex
-gp_hv *(SV**)&GvHV(PL_sv) svindex
-gp_cv *(SV**)&GvCV(PL_sv) svindex
-gp_filegv *(SV**)&GvFILEGV(PL_sv) svindex
-gp_io *(SV**)&GvIOp(PL_sv) svindex
-gp_form *(SV**)&GvFORM(PL_sv) svindex
-gp_cvgen GvCVGEN(PL_sv) U32
-gp_line GvLINE(PL_sv) line_t
-gp_share PL_sv svindex x
-xgv_flags GvFLAGS(PL_sv) U8
-op_next PL_op->op_next opindex
-op_sibling PL_op->op_sibling opindex
-op_ppaddr PL_op->op_ppaddr strconst x
-op_targ PL_op->op_targ PADOFFSET
-op_type PL_op OPCODE x
-op_seq PL_op->op_seq U16
-op_flags PL_op->op_flags U8
-op_private PL_op->op_private U8
-op_first cUNOP->op_first opindex
-op_last cBINOP->op_last opindex
-op_other cLOGOP->op_other opindex
-op_true cCONDOP->op_true opindex
-op_false cCONDOP->op_false opindex
-op_children cLISTOP->op_children U32
-op_pmreplroot cPMOP->op_pmreplroot opindex
-op_pmreplrootgv *(SV**)&cPMOP->op_pmreplroot svindex
-op_pmreplstart cPMOP->op_pmreplstart opindex
-op_pmnext *(OP**)&cPMOP->op_pmnext opindex
-pregcomp PL_op pvcontents x
-op_pmflags cPMOP->op_pmflags U16
-op_pmpermflags cPMOP->op_pmpermflags U16
-op_sv cSVOP->op_sv svindex
-op_gv *(SV**)&cGVOP->op_gv svindex
-op_pv cPVOP->op_pv pvcontents
-op_pv_tr cPVOP->op_pv op_tr_array
-op_redoop cLOOP->op_redoop opindex
-op_nextop cLOOP->op_nextop opindex
-op_lastop cLOOP->op_lastop opindex
-cop_label cCOP->cop_label pvcontents
-cop_stash *(SV**)&cCOP->cop_stash svindex
-cop_filegv *(SV**)&cCOP->cop_filegv svindex
-cop_seq cCOP->cop_seq U32
-cop_arybase cCOP->cop_arybase I32
-cop_line cCOP->cop_line line_t
-main_start PL_main_start opindex
-main_root PL_main_root opindex
-curpad PL_curpad svindex x
+ret none none x
+ldsv PL_bytecode_sv svindex
+ldop PL_op opindex
+stsv PL_bytecode_sv U32 s
+stop PL_op U32 s
+ldspecsv PL_bytecode_sv U8 x
+newsv PL_bytecode_sv U8 x
+newop PL_op U8 x
+newopn PL_op U8 x
+newpv none PV
+pv_cur PL_bytecode_pv.xpv_cur STRLEN
+pv_free PL_bytecode_pv none x
+sv_upgrade PL_bytecode_sv char x
+sv_refcnt SvREFCNT(PL_bytecode_sv) U32
+sv_refcnt_add SvREFCNT(PL_bytecode_sv) I32 x
+sv_flags SvFLAGS(PL_bytecode_sv) U32
+xrv SvRV(PL_bytecode_sv) svindex
+xpv PL_bytecode_sv none x
+xiv32 SvIVX(PL_bytecode_sv) I32
+xiv64 SvIVX(PL_bytecode_sv) IV64
+xnv SvNVX(PL_bytecode_sv) double
+xlv_targoff LvTARGOFF(PL_bytecode_sv) STRLEN
+xlv_targlen LvTARGLEN(PL_bytecode_sv) STRLEN
+xlv_targ LvTARG(PL_bytecode_sv) svindex
+xlv_type LvTYPE(PL_bytecode_sv) char
+xbm_useful BmUSEFUL(PL_bytecode_sv) I32
+xbm_previous BmPREVIOUS(PL_bytecode_sv) U16
+xbm_rare BmRARE(PL_bytecode_sv) U8
+xfm_lines FmLINES(PL_bytecode_sv) I32
+xio_lines IoLINES(PL_bytecode_sv) long
+xio_page IoPAGE(PL_bytecode_sv) long
+xio_page_len IoPAGE_LEN(PL_bytecode_sv) long
+xio_lines_left IoLINES_LEFT(PL_bytecode_sv) long
+xio_top_name IoTOP_NAME(PL_bytecode_sv) pvcontents
+xio_top_gv *(SV**)&IoTOP_GV(PL_bytecode_sv) svindex
+xio_fmt_name IoFMT_NAME(PL_bytecode_sv) pvcontents
+xio_fmt_gv *(SV**)&IoFMT_GV(PL_bytecode_sv) svindex
+xio_bottom_name IoBOTTOM_NAME(PL_bytecode_sv) pvcontents
+xio_bottom_gv *(SV**)&IoBOTTOM_GV(PL_bytecode_sv) svindex
+xio_subprocess IoSUBPROCESS(PL_bytecode_sv) short
+xio_type IoTYPE(PL_bytecode_sv) char
+xio_flags IoFLAGS(PL_bytecode_sv) char
+xcv_stash *(SV**)&CvSTASH(PL_bytecode_sv) svindex
+xcv_start CvSTART(PL_bytecode_sv) opindex
+xcv_root CvROOT(PL_bytecode_sv) opindex
+xcv_gv *(SV**)&CvGV(PL_bytecode_sv) svindex
+xcv_filegv *(SV**)&CvFILEGV(PL_bytecode_sv) svindex
+xcv_depth CvDEPTH(PL_bytecode_sv) long
+xcv_padlist *(SV**)&CvPADLIST(PL_bytecode_sv) svindex
+xcv_outside *(SV**)&CvOUTSIDE(PL_bytecode_sv) svindex
+xcv_flags CvFLAGS(PL_bytecode_sv) U8
+av_extend PL_bytecode_sv SSize_t x
+av_push PL_bytecode_sv svindex x
+xav_fill AvFILLp(PL_bytecode_sv) SSize_t
+xav_max AvMAX(PL_bytecode_sv) SSize_t
+xav_flags AvFLAGS(PL_bytecode_sv) U8
+xhv_riter HvRITER(PL_bytecode_sv) I32
+xhv_name HvNAME(PL_bytecode_sv) pvcontents
+hv_store PL_bytecode_sv svindex x
+sv_magic PL_bytecode_sv char x
+mg_obj SvMAGIC(PL_bytecode_sv)->mg_obj svindex
+mg_private SvMAGIC(PL_bytecode_sv)->mg_private U16
+mg_flags SvMAGIC(PL_bytecode_sv)->mg_flags U8
+mg_pv SvMAGIC(PL_bytecode_sv) pvcontents x
+xmg_stash *(SV**)&SvSTASH(PL_bytecode_sv) svindex
+gv_fetchpv PL_bytecode_sv strconst x
+gv_stashpv PL_bytecode_sv strconst x
+gp_sv GvSV(PL_bytecode_sv) svindex
+gp_refcnt GvREFCNT(PL_bytecode_sv) U32
+gp_refcnt_add GvREFCNT(PL_bytecode_sv) I32 x
+gp_av *(SV**)&GvAV(PL_bytecode_sv) svindex
+gp_hv *(SV**)&GvHV(PL_bytecode_sv) svindex
+gp_cv *(SV**)&GvCV(PL_bytecode_sv) svindex
+gp_filegv *(SV**)&GvFILEGV(PL_bytecode_sv) svindex
+gp_io *(SV**)&GvIOp(PL_bytecode_sv) svindex
+gp_form *(SV**)&GvFORM(PL_bytecode_sv) svindex
+gp_cvgen GvCVGEN(PL_bytecode_sv) U32
+gp_line GvLINE(PL_bytecode_sv) line_t
+gp_share PL_bytecode_sv svindex x
+xgv_flags GvFLAGS(PL_bytecode_sv) U8
+op_next PL_op->op_next opindex
+op_sibling PL_op->op_sibling opindex
+op_ppaddr PL_op->op_ppaddr strconst x
+op_targ PL_op->op_targ PADOFFSET
+op_type PL_op OPCODE x
+op_seq PL_op->op_seq U16
+op_flags PL_op->op_flags U8
+op_private PL_op->op_private U8
+op_first cUNOP->op_first opindex
+op_last cBINOP->op_last opindex
+op_other cLOGOP->op_other opindex
+op_true cCONDOP->op_true opindex
+op_false cCONDOP->op_false opindex
+op_children cLISTOP->op_children U32
+op_pmreplroot cPMOP->op_pmreplroot opindex
+op_pmreplrootgv *(SV**)&cPMOP->op_pmreplroot svindex
+op_pmreplstart cPMOP->op_pmreplstart opindex
+op_pmnext *(OP**)&cPMOP->op_pmnext opindex
+pregcomp PL_op pvcontents x
+op_pmflags cPMOP->op_pmflags U16
+op_pmpermflags cPMOP->op_pmpermflags U16
+op_sv cSVOP->op_sv svindex
+op_gv *(SV**)&cGVOP->op_gv svindex
+op_pv cPVOP->op_pv pvcontents
+op_pv_tr cPVOP->op_pv op_tr_array
+op_redoop cLOOP->op_redoop opindex
+op_nextop cLOOP->op_nextop opindex
+op_lastop cLOOP->op_lastop opindex
+cop_label cCOP->cop_label pvcontents
+cop_stash *(SV**)&cCOP->cop_stash svindex
+cop_filegv *(SV**)&cCOP->cop_filegv svindex
+cop_seq cCOP->cop_seq U32
+cop_arybase cCOP->cop_arybase I32
+cop_line cCOP->cop_line line_t
+main_start PL_main_start opindex
+main_root PL_main_root opindex
+curpad PL_curpad svindex x