diff options
author | Sverker Eriksson <[email protected]> | 2016-10-26 17:22:32 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-10-26 17:41:05 +0200 |
commit | 3223059923314313ffff9c7b09ab0a73bf18238b (patch) | |
tree | b7e3b2671f430642c9d5c0a3bc3da115e37e9a2e /erts/emulator/hipe/hipe_mode_switch.c | |
parent | 42b9881d075344344a8c78026e282b40fa707a0c (diff) | |
download | otp-3223059923314313ffff9c7b09ab0a73bf18238b.tar.gz otp-3223059923314313ffff9c7b09ab0a73bf18238b.tar.bz2 otp-3223059923314313ffff9c7b09ab0a73bf18238b.zip |
erts: Remove unused argument to hipe_set_closure_stub
Diffstat (limited to 'erts/emulator/hipe/hipe_mode_switch.c')
-rw-r--r-- | erts/emulator/hipe/hipe_mode_switch.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/erts/emulator/hipe/hipe_mode_switch.c b/erts/emulator/hipe/hipe_mode_switch.c index ed95045292..0706f8d2c9 100644 --- a/erts/emulator/hipe/hipe_mode_switch.c +++ b/erts/emulator/hipe/hipe_mode_switch.c @@ -718,12 +718,9 @@ void hipe_empty_nstack(Process *p) p->hipe.nstend = NULL; } -void hipe_set_closure_stub(ErlFunEntry *fe, unsigned num_free) +void hipe_set_closure_stub(ErlFunEntry *fe) { - unsigned arity; - - arity = fe->arity; - fe->native_address = (Eterm*) hipe_closure_stub_address(arity); + fe->native_address = (Eterm*) hipe_closure_stub_address(fe->arity); } Eterm hipe_build_stacktrace(Process *p, struct StackTrace *s) |