aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/export.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-02-07 19:43:31 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:06 +0100
commitfa5213fd7590c6a9ade13af1375c363b958927f1 (patch)
treed1cb53979ff22779fbd83eccc22f4e5fb33d3ac4 /erts/emulator/beam/export.c
parentc2f62a3813c5c2bd2bb691df816d5fc2fb17206a (diff)
downloadotp-fa5213fd7590c6a9ade13af1375c363b958927f1.tar.gz
otp-fa5213fd7590c6a9ade13af1375c363b958927f1.tar.bz2
otp-fa5213fd7590c6a9ade13af1375c363b958927f1.zip
erts: Cleanup non-blocking load
Diffstat (limited to 'erts/emulator/beam/export.c')
-rw-r--r--erts/emulator/beam/export.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/erts/emulator/beam/export.c b/erts/emulator/beam/export.c
index 9656a67a4a..78a0b7d269 100644
--- a/erts/emulator/beam/export.c
+++ b/erts/emulator/beam/export.c
@@ -206,16 +206,11 @@ init_export_table(void)
* called through such an export entry.
* 3) This function is suitable for the implementation of erlang:apply/3.
*/
+extern Export* /* inline-helper */
+erts_find_export_entry(Eterm m, Eterm f, unsigned int a,ErtsCodeIndex code_ix);
Export*
-erts_active_export_entry(Eterm m, Eterm f, unsigned int a)
-{
- return erts_find_export_entry(m, f, a, erts_active_code_ix());
-}
-
-Export*
-erts_find_export_entry(Eterm m, Eterm f, unsigned int a,
- ErtsCodeIndex code_ix)
+erts_find_export_entry(Eterm m, Eterm f, unsigned int a, ErtsCodeIndex code_ix)
{
HashValue hval = EXPORT_HASH((BeamInstr) m, (BeamInstr) f, (BeamInstr) a);
int ix;
@@ -401,7 +396,6 @@ void export_start_staging(void)
/*
* Insert all entries in src into dst table
*/
- /*SVERK Room for optimization to only insert the new ones */
for (i = 0; i < src->entries; i++) {
src_entry = (struct export_entry*) erts_index_lookup(src, i);
src_entry->ep->addressv[dst_ix] = src_entry->ep->addressv[src_ix];