aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2014-05-14 14:54:16 +0200
committerSverker Eriksson <[email protected]>2014-05-14 14:54:57 +0200
commit0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e (patch)
tree9727e6c28cd5b6010cfe581442ab83061c5e38d2 /erts/emulator/beam
parent4ad572a8b66df8174d92157411326aab95ee8124 (diff)
downloadotp-0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e.tar.gz
otp-0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e.tar.bz2
otp-0dbcbea0cf52672ef1cf051c3cd7640eb7ff728e.zip
Remove obsolete 'imports' entry from module_info/1/2 functions
It previously always returned an empty list and was documented to be removed.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/atom.names1
-rw-r--r--erts/emulator/beam/beam_load.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/erts/emulator/beam/atom.names b/erts/emulator/beam/atom.names
index 7d11f7f956..dc930f2d38 100644
--- a/erts/emulator/beam/atom.names
+++ b/erts/emulator/beam/atom.names
@@ -278,7 +278,6 @@ atom http httph https http_response http_request http_header http_eoh http_error
atom id
atom if_clause
atom ignore
-atom imports
atom in
atom in_exiting
atom inactive
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 8b3fc90826..a4e72a130a 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -5117,7 +5117,6 @@ erts_module_info_0(Process* p, Eterm module)
BUILD_INFO(am_md5);
BUILD_INFO(am_compile);
BUILD_INFO(am_attributes);
- BUILD_INFO(am_imports);
BUILD_INFO(am_exports);
BUILD_INFO(am_module);
#undef BUILD_INFO
@@ -5129,8 +5128,6 @@ erts_module_info_1(Process* p, Eterm module, Eterm what)
{
if (what == am_module) {
return module;
- } else if (what == am_imports) {
- return NIL;
} else if (what == am_md5) {
return md5_of_module(p, module);
} else if (what == am_exports) {