aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-26 17:22:32 +0200
committerSverker Eriksson <[email protected]>2016-10-26 17:41:05 +0200
commit3223059923314313ffff9c7b09ab0a73bf18238b (patch)
treeb7e3b2671f430642c9d5c0a3bc3da115e37e9a2e /erts/emulator/beam
parent42b9881d075344344a8c78026e282b40fa707a0c (diff)
downloadotp-3223059923314313ffff9c7b09ab0a73bf18238b.tar.gz
otp-3223059923314313ffff9c7b09ab0a73bf18238b.tar.bz2
otp-3223059923314313ffff9c7b09ab0a73bf18238b.zip
erts: Remove unused argument to hipe_set_closure_stub
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_load.c2
-rw-r--r--erts/emulator/beam/external.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 36cf64e08d..3cd395c2c1 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -4848,7 +4848,7 @@ final_touch(LoaderState* stp, struct erl_module_instance* inst_p)
}
fe->address = code_ptr;
#ifdef HIPE
- hipe_set_closure_stub(fe, stp->lambdas[i].num_free);
+ hipe_set_closure_stub(fe);
#endif
}
}
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c
index 98df8a0726..a49b242d7c 100644
--- a/erts/emulator/beam/external.c
+++ b/erts/emulator/beam/external.c
@@ -3748,7 +3748,7 @@ dec_term_atom_common:
funp->arity = arity;
#ifdef HIPE
if (funp->fe->native_address == NULL) {
- hipe_set_closure_stub(funp->fe, num_free);
+ hipe_set_closure_stub(funp->fe);
}
#endif
hp = factory->hp;