diff options
author | Rickard Green <[email protected]> | 2016-10-28 18:34:14 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-12 15:22:26 +0100 |
commit | 95ec5d385cfba23c770d946871c0197bf374ff3c (patch) | |
tree | 4eabd4401d83066c07a77d7dec34600deac64edd /erts/emulator/beam/erl_nfunc_sched.c | |
parent | 5aff60d96efac96a41b514ed167f13eb787a415f (diff) | |
download | otp-95ec5d385cfba23c770d946871c0197bf374ff3c.tar.gz otp-95ec5d385cfba23c770d946871c0197bf374ff3c.tar.bz2 otp-95ec5d385cfba23c770d946871c0197bf374ff3c.zip |
Optimize handling of BIF errors
Diffstat (limited to 'erts/emulator/beam/erl_nfunc_sched.c')
-rw-r--r-- | erts/emulator/beam/erl_nfunc_sched.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_nfunc_sched.c b/erts/emulator/beam/erl_nfunc_sched.c index 0333545255..bc3fd83d7a 100644 --- a/erts/emulator/beam/erl_nfunc_sched.c +++ b/erts/emulator/beam/erl_nfunc_sched.c @@ -63,7 +63,7 @@ erts_destroy_nif_export(Process *p) NifExport * erts_nif_export_schedule(Process *c_p, Process *dirty_shadow_proc, - ErtsCodeMFA *mfa, void *nif, BeamInstr *pc, + ErtsCodeMFA *mfa, BeamInstr *pc, BeamInstr instr, void *dfunc, void *ifunc, Eterm mod, Eterm func, @@ -111,8 +111,6 @@ erts_nif_export_schedule(Process *c_p, Process *dirty_shadow_proc, nep->argv[i] = reg[i]; nep->pc = pc; nep->cp = c_p->cp; - ASSERT(nif); - nep->nif = nif; nep->mfa = mfa; nep->current = c_p->current; ASSERT(argc >= 0); |