diff options
author | Björn Gustavsson <[email protected]> | 2011-11-09 17:27:52 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-14 14:46:58 +0100 |
commit | b67d3e5447f4b2bca3ed92f3db84adb3f79f9b16 (patch) | |
tree | 8d8697d0cde6adb6680b64d2d424b739f5df99b2 /erts/emulator/beam/erl_db_util.c | |
parent | 757a4720645366af1aace7469a6f5e7b9be7ab45 (diff) | |
download | otp-b67d3e5447f4b2bca3ed92f3db84adb3f79f9b16.tar.gz otp-b67d3e5447f4b2bca3ed92f3db84adb3f79f9b16.tar.bz2 otp-b67d3e5447f4b2bca3ed92f3db84adb3f79f9b16.zip |
BEAM loader: Clean up handling of error reasons
There is no reason to have erts_load_module() return integer values,
only to have the caller convert the values to atoms. Return the
appropriate atom directly from the place where the error is generated
instead. Return NIL if the module was successfully loaded.
Diffstat (limited to 'erts/emulator/beam/erl_db_util.c')
0 files changed, 0 insertions, 0 deletions