aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/module.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-01-26 16:25:26 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:04 +0100
commite60c9cd4356a91c10657b5de86af8279ccd6eb79 (patch)
tree0dfe3a276ce4a23571e97cbfbb15a94ced6fd77a /erts/emulator/beam/module.h
parent605c7c1bafc72b0cc3a6ee6110abf8676b6b287f (diff)
downloadotp-e60c9cd4356a91c10657b5de86af8279ccd6eb79.tar.gz
otp-e60c9cd4356a91c10657b5de86af8279ccd6eb79.tar.bz2
otp-e60c9cd4356a91c10657b5de86af8279ccd6eb79.zip
erts: Move number-of-breakpoint counter from code to Module struct
The is a refactoring in preparation to add a counter in Module struct for export entry tracing. It is nicer if the two are kept together.
Diffstat (limited to 'erts/emulator/beam/module.h')
-rw-r--r--erts/emulator/beam/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/module.h b/erts/emulator/beam/module.h
index 209aa3b98a..8c09b3628d 100644
--- a/erts/emulator/beam/module.h
+++ b/erts/emulator/beam/module.h
@@ -29,6 +29,7 @@ struct erl_module_instance {
int code_length; /* Length of loaded code in bytes. */
unsigned catches;
struct erl_module_nif* nif;
+ int num_breakpoints;
};
typedef struct erl_module {