summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-30 23:53:56 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-30 23:53:56 +0000
commit33fb7a6edc5251e55242be2c5935f334082dd9b7 (patch)
tree923d77a74387c0b9365f679394913b111c893b5b /embed.fnc
parente670910b0c400b157be823734ec6e961eafe0d4a (diff)
downloadperl-33fb7a6edc5251e55242be2c5935f334082dd9b7.tar.gz
Refactor the code used to check/execute BEGIN/UNITCHECK/CHECK/INIT/END
duplicated in newATTRSUB and newXS into a new static function process_special_blocks() p4raw-id: //depot/perl@30080
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 0a369e3c03..2b3112dc83 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1211,6 +1211,8 @@ s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
|I32 enter_opcode|I32 leave_opcode \
|PADOFFSET entertarg
s |OP* |ref_array_or_hash|NULLOK OP* cond
+s |void |process_special_blocks |NN const char *const fullname\
+ |NN GV *const gv|NN CV *const cv
#endif
#if defined(PL_OP_SLAB_ALLOC)
Apa |void* |Slab_Alloc |int m|size_t sz