diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-30 23:53:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-30 23:53:56 +0000 |
commit | 33fb7a6edc5251e55242be2c5935f334082dd9b7 (patch) | |
tree | 923d77a74387c0b9365f679394913b111c893b5b /embed.fnc | |
parent | e670910b0c400b157be823734ec6e961eafe0d4a (diff) | |
download | perl-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.fnc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |