aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-18 13:30:20 +0100
committerRickard Green <[email protected]>2017-01-18 13:30:20 +0100
commit505305a4b6a6372921808c4e5ec56db51b6a308b (patch)
tree6dfbe026828fda5f6ae4ef8a173bd306a52538ac /erts/emulator/beam
parente528e53cc7bb35896d3404bb5cec5619fd21cc10 (diff)
downloadotp-505305a4b6a6372921808c4e5ec56db51b6a308b.tar.gz
otp-505305a4b6a6372921808c4e5ec56db51b6a308b.tar.bz2
otp-505305a4b6a6372921808c4e5ec56db51b6a308b.zip
Remove double check of NifExport when checking process code
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_bif_load.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/erts/emulator/beam/beam_bif_load.c b/erts/emulator/beam/beam_bif_load.c
index c8dde8caf8..a5891a0ec2 100644
--- a/erts/emulator/beam/beam_bif_load.c
+++ b/erts/emulator/beam/beam_bif_load.c
@@ -1120,11 +1120,6 @@ check_process_code(Process* rp, Module* modp, int *redsp, int fcalls)
if (erts_check_nif_export_in_area(rp, mod_start, mod_size))
return am_true;
- *redsp += 1;
-
- if (erts_check_nif_export_in_area(rp, mod_start, mod_size))
- return am_true;
-
*redsp += (STACK_START(rp) - rp->stop) / 32;
/*