summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-12-25 06:16:31 -0800
committerFather Chrysostomos <sprout@cpan.org>2013-12-25 17:47:23 -0800
commit88df5f01a6650d6895e7d3f03d1b340ca2506b05 (patch)
tree76bdc34ecd9d1801c9458a2e9e5850f2b8842959 /cop.h
parentb27804d8b48d647c08dc853b49e5b311fe166616 (diff)
downloadperl-88df5f01a6650d6895e7d3f03d1b340ca2506b05.tar.gz
Revert "[perl #119801] Stop @DB::dbline modifications from crashing"
This reverts commit c1cec775e9019cc8ae244d4db239a7ea5c0b343e. See ticket #120864.
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h44
1 files changed, 15 insertions, 29 deletions
diff --git a/cop.h b/cop.h
index d74da17e93..6950814613 100644
--- a/cop.h
+++ b/cop.h
@@ -370,41 +370,27 @@ string/length pair.
#include "mydtrace.h"
+struct cop {
+ BASEOP
+ /* On LP64 putting this here takes advantage of the fact that BASEOP isn't
+ an exact multiple of 8 bytes to save structure padding. */
+ line_t cop_line; /* line # of this command */
+ /* label for this construct is now stored in cop_hints_hash */
#ifdef USE_ITHREADS
-# define _COP_STASH_N_FILE \
- PADOFFSET cop_stashoff; /* offset into PL_stashpad, for the \
- package the line was compiled in */ \
+ PADOFFSET cop_stashoff; /* offset into PL_stashpad, for the
+ package the line was compiled in */
char * cop_file; /* file name the following line # is from */
#else
-# define _COP_STASH_N_FILE \
- HV * cop_stash; /* package line was compiled in */ \
+ HV * cop_stash; /* package line was compiled in */
GV * cop_filegv; /* file the following line # is from */
#endif
-
-#define _COP_FIELDS \
- /* On LP64 putting this here takes advantage of the fact that BASEOP \
- isn't an exact multiple of 8 bytes to save structure padding. */ \
- line_t cop_line; /* line # of this command */ \
- /* label for this construct is now stored in cop_hints_hash */ \
- _COP_STASH_N_FILE \
- U32 cop_hints; /* hints bits from pragmata */ \
- U32 cop_seq; /* parse sequence number */ \
- /* Beware. mg.c and warnings.pl assume the type of this \
- is STRLEN *: */ \
- STRLEN * cop_warnings; /* lexical warnings bitmask */ \
- /* compile time state of %^H. See the comment in op.c for how this \
- is used to recreate a hash to return from caller. */ \
+ U32 cop_hints; /* hints bits from pragmata */
+ U32 cop_seq; /* parse sequence number */
+ /* Beware. mg.c and warnings.pl assume the type of this is STRLEN *: */
+ STRLEN * cop_warnings; /* lexical warnings bitmask */
+ /* compile time state of %^H. See the comment in op.c for how this is
+ used to recreate a hash to return from caller. */
COPHH * cop_hints_hash;
-
-struct cop {
- BASEOP
- _COP_FIELDS
-};
-
-struct dbop {
- BASEOP
- _COP_FIELDS
- size_t dbop_seq; /* sequence number for breakpoint */
};
#ifdef USE_ITHREADS