aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.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/beam_load.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/beam_load.h')
-rw-r--r--erts/emulator/beam/beam_load.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/erts/emulator/beam/beam_load.h b/erts/emulator/beam/beam_load.h
index 9da692625b..0f6ad35cbc 100644
--- a/erts/emulator/beam/beam_load.h
+++ b/erts/emulator/beam/beam_load.h
@@ -89,27 +89,22 @@ extern Uint erts_total_code_size;
#define MI_COMPILE_SIZE_ON_HEAP 6
/*
- * Number of breakpoints in module is stored in this word
- */
-#define MI_NUM_BREAKPOINTS 7
-
-/*
* Literal area (constant pool).
*/
-#define MI_LITERALS_START 8
-#define MI_LITERALS_END 9
-#define MI_LITERALS_OFF_HEAP 10
+#define MI_LITERALS_START 7
+#define MI_LITERALS_END 8
+#define MI_LITERALS_OFF_HEAP 9
/*
* Pointer to the on_load function (or NULL if none).
*/
-#define MI_ON_LOAD_FUNCTION_PTR 11
+#define MI_ON_LOAD_FUNCTION_PTR 10
/*
* Pointer to the line table (or NULL if none).
*/
-#define MI_LINE_TABLE 12
+#define MI_LINE_TABLE 11
/*
* Start of function pointer table. This table contains pointers to
@@ -120,7 +115,7 @@ extern Uint erts_total_code_size;
* this table.
*/
-#define MI_FUNCTIONS 13
+#define MI_FUNCTIONS 12
/*
* Layout of the line table.