aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.h
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2014-05-14 14:46:46 +0200
committerSverker Eriksson <[email protected]>2014-05-14 14:46:46 +0200
commitfdb350a4c98f070c264b8bd4ea9eca2513352f21 (patch)
tree5ebc56a09dc83aca5d194f570cf98e7193ecc88f /erts/emulator/beam/beam_load.h
parent07b8f441ca711f9812fad9e9115bab3c3aa92f79 (diff)
downloadotp-fdb350a4c98f070c264b8bd4ea9eca2513352f21.tar.gz
otp-fdb350a4c98f070c264b8bd4ea9eca2513352f21.tar.bz2
otp-fdb350a4c98f070c264b8bd4ea9eca2513352f21.zip
Add 'md5' entry for module_info/0/1 functions.
Diffstat (limited to 'erts/emulator/beam/beam_load.h')
-rw-r--r--erts/emulator/beam/beam_load.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_load.h b/erts/emulator/beam/beam_load.h
index bd22b0c4de..0e3ca0bdb0 100644
--- a/erts/emulator/beam/beam_load.h
+++ b/erts/emulator/beam/beam_load.h
@@ -91,7 +91,6 @@ extern Uint erts_total_code_size;
#define MI_LITERALS_END 8
#define MI_LITERALS_OFF_HEAP 9
-
/*
* Pointer to the on_load function (or NULL if none).
*/
@@ -103,6 +102,11 @@ extern Uint erts_total_code_size;
#define MI_LINE_TABLE 11
/*
+ * Pointer to the module MD5 sum (16 bytes)
+ */
+#define MI_MD5_PTR 12
+
+/*
* Start of function pointer table. This table contains pointers to
* all functions in the module plus an additional pointer just beyond
* the end of the last function.
@@ -111,7 +115,7 @@ extern Uint erts_total_code_size;
* this table.
*/
-#define MI_FUNCTIONS 12
+#define MI_FUNCTIONS 13
/*
* Layout of the line table.