aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-12-05 19:16:48 +0100
committerSverker Eriksson <[email protected]>2016-12-05 19:16:48 +0100
commit57e0fb97e74c48c502b2eb35990abf4396e04b52 (patch)
treef7ebaa2f0acff560d7cebf2934f4994d252bc06c /erts/emulator/beam/beam_load.h
parentdf2f089ad064f502b8797f53640acdc46187862c (diff)
parent6c76bfa96c12b9f29e66baf3a2df7e84bb9b05ef (diff)
downloadotp-57e0fb97e74c48c502b2eb35990abf4396e04b52.tar.gz
otp-57e0fb97e74c48c502b2eb35990abf4396e04b52.tar.bz2
otp-57e0fb97e74c48c502b2eb35990abf4396e04b52.zip
Merge branch 'sverker/secret-atom'
Diffstat (limited to 'erts/emulator/beam/beam_load.h')
-rw-r--r--erts/emulator/beam/beam_load.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_load.h b/erts/emulator/beam/beam_load.h
index d420a4346c..659b9c303f 100644
--- a/erts/emulator/beam/beam_load.h
+++ b/erts/emulator/beam/beam_load.h
@@ -111,6 +111,12 @@ typedef struct beam_code_header {
}BeamCodeHeader;
+#ifdef ERTS_DIRTY_SCHEDULERS
+# define BEAM_NIF_MIN_FUNC_SZ 4
+#else
+# define BEAM_NIF_MIN_FUNC_SZ 3
+#endif
+
void erts_release_literal_area(struct ErtsLiteralArea_* literal_area);
int erts_is_module_native(BeamCodeHeader* code);
void erts_beam_bif_load_init(void);