aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_bif0.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-28 15:52:43 +0200
committerSverker Eriksson <[email protected]>2016-10-28 15:52:43 +0200
commite084d3d77eb15f58b2152e45ef84c27e7cf88403 (patch)
tree36ec95d7357cff6ba9d1f629d9d34db3318be5fb /erts/emulator/hipe/hipe_bif0.c
parente6059f94571a6c968c15b9de6b7d63ebd64f9acf (diff)
downloadotp-e084d3d77eb15f58b2152e45ef84c27e7cf88403.tar.gz
otp-e084d3d77eb15f58b2152e45ef84c27e7cf88403.tar.bz2
otp-e084d3d77eb15f58b2152e45ef84c27e7cf88403.zip
erts: Exclude random beam functions from hipe stacktrace
Diffstat (limited to 'erts/emulator/hipe/hipe_bif0.c')
-rw-r--r--erts/emulator/hipe/hipe_bif0.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c
index 3336fded7a..dcb6c35bfa 100644
--- a/erts/emulator/hipe/hipe_bif0.c
+++ b/erts/emulator/hipe/hipe_bif0.c
@@ -1476,6 +1476,10 @@ int hipe_find_mfa_from_ra(const void *ra, Eterm *m, Eterm *f, unsigned int *a)
struct hipe_mfa_info **bucket;
unsigned int i, nrbuckets;
+ if (hipe_is_ra_mode_switch(ra)) {
+ return 0;
+ }
+
/* Note about locking: the table is only updated from the
loader, which runs with the rest of the system suspended. */
/* XXX: alas not true; see comment at hipe_mfa_info_table.lock */